From: <hi...@us...> - 2007-02-24 04:32:23
|
Revision: 1590 http://svn.sourceforge.net/rubycocoa/?rev=1590&view=rev Author: hisa Date: 2007-02-23 20:32:01 -0800 (Fri, 23 Feb 2007) Log Message: ----------- 2007-02-24 Fujimoto Hisa <hi...@fo...> * framework/src/objc/RBObject.m, framework/src/objc/RBRuntime.m, framework/src/objc/internal_macros.h: called Init_stack in RBObject#rbobjRespondsToSelector, when initialized using RBBundleInit and FREQUENTLY_INIT_STACK_FLAG is flagged. added (secret) api RBBundleInit2 to specify the frequently_init_stack_flag. * framework/src/objc/mdl_bundle_support.m, framework/src/objc/RBRuntime.m: acceptted nil for the 2nd argument, which type is Class, of RBBundleInit. it means using [NSBundle mainBundle] instead of bundleForClass for looking up the bundle related with the 2nd argument. So, it's able to initialize an app using RBBundleInit (or RBBundleInit2). it's an alternative way of using RBApplicationMain. * cls_objcptr.m, cls_objcptr.h: Modified Paths: -------------- branches/apple-unstable/src/ChangeLog branches/apple-unstable/src/framework/src/objc/RBObject.m branches/apple-unstable/src/framework/src/objc/RBRuntime.m branches/apple-unstable/src/framework/src/objc/cls_objcptr.h branches/apple-unstable/src/framework/src/objc/cls_objcptr.m branches/apple-unstable/src/framework/src/objc/internal_macros.h branches/apple-unstable/src/framework/src/objc/mdl_bundle_support.m This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |