note description: "Auto-generated Objective-C wrapper class" date: "$Date$" revision: "$Revision$" class NS_AUTORELEASE_POOL_UTILS inherit NS_OBJECT_UTILS redefine wrapper_objc_class_name, is_subclass_instance end feature -- NSAutoreleasePool add_object_ (an_object: detachable NS_OBJECT) -- Auto generated Objective-C wrapper. local l_objc_class: OBJC_CLASS an_object__item: POINTER do if attached an_object as an_object_attached then an_object__item := an_object_attached.item end create l_objc_class.make_with_name (get_class_name) check l_objc_class_registered: l_objc_class.registered end objc_add_object_ (l_objc_class.item, an_object__item) end feature {NONE} -- NSAutoreleasePool Externals objc_add_object_ (a_class_object: POINTER; a_an_object: POINTER) -- Auto generated Objective-C wrapper. external "C inline use " alias "[ [(Class)$a_class_object addObject:$a_an_object]; ]" end feature {NONE} -- Implementation wrapper_objc_class_name: STRING -- The class name used for classes of the generated wrapper classes. do Result := "NSAutoreleasePool" end is_subclass_instance: BOOLEAN -- do Result := False end end