mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 16:10:48 +00:00
config.h added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2497 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
19465bdcb1
commit
dd2e92ad2e
1 changed files with 53 additions and 0 deletions
53
Headers/gnustep/gui/config.h
Normal file
53
Headers/gnustep/gui/config.h
Normal file
|
@ -0,0 +1,53 @@
|
|||
/*
|
||||
config.h
|
||||
|
||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
||||
|
||||
Author: Scott Christley <scottc@net-community.com>
|
||||
Author: Ovidiu Predescu <ovidiu@net-community.com>
|
||||
Date: 1996
|
||||
|
||||
This file is part of the GNUstep GUI Library.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Library General Public License for more details.
|
||||
|
||||
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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#ifndef _GNUstep_H_config
|
||||
#define _GNUstep_H_config
|
||||
|
||||
#include <Foundation/NSGeometry.h>
|
||||
|
||||
/* Define NSDebugLog if not defined */
|
||||
#ifndef NSDebugLog
|
||||
# ifdef DEBUGLOG
|
||||
# define NSDebugLog(format, args...) NSLog(format, ## args)
|
||||
# else
|
||||
# define NSDebugLog(format, args...)
|
||||
# endif
|
||||
#endif /* !NSDebugLog */
|
||||
|
||||
extern BOOL initialize_gnustep_backend (void);
|
||||
|
||||
#ifndef OBJC_MALLOC
|
||||
# define OBJC_MALLOC(pointer, type, elements) \
|
||||
(pointer = calloc (sizeof(type), elements))
|
||||
#endif
|
||||
|
||||
#ifndef OBJC_FREE
|
||||
# define OBJC_FREE(pointer) \
|
||||
if (pointer) free(pointer)
|
||||
#endif
|
||||
|
||||
#endif /* _GNUstep_H_config */
|
Loading…
Reference in a new issue