Hi,

I was looking for an implementation of OSX-compatible runtime  
functions on top of the GNU runtime, and found ObjectiveC2.framework  
and libobjc2.  They seem to be exactly what I wanted.

So I tested libobjc2 with my code and found some bugs:
- method_getTypeEncoding is broken. It always returns (unsigned int)-1.
- class_getInstanceVariable does not check if cls->ivars!=NULL.
- class_addMethod calls sel_get_typed_uid. Should call  
sel_register_typed_name.
- class_addIvar refers to ivarlist->ivar_count even if ivarlist==NULL.

I hope this post would help you.

Thanks,
Mizuki


_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à