bug-gnustep
[Top][All Lists]
Advanced

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

[bug #32383] NSClassFromString returns nil on MinGw if the string class


From: matt rice
Subject: [bug #32383] NSClassFromString returns nil on MinGw if the string class is in a shared library and hasn't yet been used
Date: Wed, 09 Feb 2011 03:34:49 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.5.15-1.fc12 Firefox/3.5.15

Follow-up Comment #6, bug #32383 (project gnustep):

-- is this what you are referring to in order to get the class loaded?

what I meant was being loaded was the class having the +load method called,
this at least has well defined semantics of before main or after a dlopen,
see

http://www.mikeash.com/pyblog/friday-qa-2009-05-22-objective-c-class-loading-and-initialization.html

http://developer.apple.com/library/ios/documentation/cocoa/reference/foundation/Classes/NSObject_Class/Reference/Reference.html#//apple_ref/occ/clm/NSObject/load

and i've always assumed that NSClassFromString would work at any time after
the +load method (if it is implemented) had, or would have been called.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32383>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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