mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-24 06:02:27 +00:00
Minor addition
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15876 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
aa184f7686
commit
02e7c8047c
3 changed files with 14 additions and 0 deletions
|
@ -1040,6 +1040,14 @@ _bundle_load_callback(Class theClass, struct objc_category *theCategory)
|
|||
return _principalClass;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns YES if the receiver's code is loaded, otherwise, returns NO.
|
||||
*/
|
||||
- (BOOL) isLoaded
|
||||
{
|
||||
return _codeLoaded;
|
||||
}
|
||||
|
||||
- (BOOL) load
|
||||
{
|
||||
if (self == _mainBundle || self == _gnustep_bundle)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue