mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Changes from Scott Christley. See Oct 23 ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1888 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
07466dd9e9
commit
fab2728036
7 changed files with 110 additions and 32 deletions
|
@ -41,7 +41,6 @@
|
|||
/* From the objc runtime -- needed when invalidating the dtable */
|
||||
extern void __objc_install_premature_dtable(Class);
|
||||
extern void sarray_free(struct sarray*);
|
||||
extern struct sarray *__objc_uninstalled_dtable;
|
||||
|
||||
/* Declaration from NSBundle.m */
|
||||
const char *objc_executable_location( void );
|
||||
|
@ -86,7 +85,7 @@ objc_invalidate_dtable(Class class)
|
|||
{
|
||||
Class s;
|
||||
|
||||
if (class->dtable == __objc_uninstalled_dtable)
|
||||
if (class->dtable == objc_get_uninstalled_dtable())
|
||||
return;
|
||||
sarray_free(class->dtable);
|
||||
__objc_install_premature_dtable(class);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue