gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GSObjCRuntime


From: Thomas Gamper
Subject: GSObjCRuntime
Date: Sun, 14 Aug 2011 12:33:30 +0200
User-agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6)

Hi!

I would like to know if the following functions in GSObjCRuntime.h are deprecated:

GS_EXPORT BOOL
GSObjCFindVariable(id obj, const char *name,
                   const char **type, unsigned int *size, int *offset);

GS_EXPORT void
GSObjCGetVariable(id obj, int offset, unsigned int size, void *data);

GS_EXPORT void
GSObjCSetVariable(id obj, int offset, unsigned int size, const void *data);

If they are not, IMHO their signatures are out of date and should be updated, maybe NSUInteger for the "size" argument and ptrdiff_t for "offset"?

In case they are deprecated, any suggestions how to implement the same functionality? I guess I would need to use the public interface to the objc runtime...

Thanks
TOM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]