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:
rfm 2006-10-09 17:21:51 +00:00
parent 074ef7dc68
commit 1cc4c5712a
6 changed files with 42 additions and 68 deletions

View file

@ -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 */