mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Slim down gloabl symbols a little.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23803 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
074ef7dc68
commit
1cc4c5712a
6 changed files with 42 additions and 68 deletions
|
@ -18,7 +18,8 @@
|
|||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
* Boston, MA 02111 USA.
|
||||
|
||||
<title>NSGeometry class reference</title>
|
||||
$Date$ $Revision$
|
||||
|
@ -40,8 +41,7 @@
|
|||
#include "Foundation/NSGeometry.h"
|
||||
#include "Foundation/NSScanner.h"
|
||||
#include "Foundation/NSNotification.h"
|
||||
|
||||
extern BOOL GSMacOSXCompatibleGeometry(void); // Compatibility mode
|
||||
#include "GSPrivate.h"
|
||||
|
||||
static Class NSStringClass = 0;
|
||||
static Class NSScannerClass = 0;
|
||||
|
@ -71,6 +71,13 @@ setupCache(void)
|
|||
}
|
||||
}
|
||||
|
||||
static BOOL GSMacOSXCompatibleGeometry(void)
|
||||
{
|
||||
if ([_GSPrivate userDefaultsFlag: GSOldStyleGeometry] == YES)
|
||||
return NO;
|
||||
return [_GSPrivate userDefaultsFlag: GSMacOSXCompatible];
|
||||
}
|
||||
|
||||
/**** Function Implementations ***********************************************/
|
||||
/* Most of these are implemented in the header file as inline functkions */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue