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

_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to