2 Copyright (C) 2000-2003 SKYRIX Software AG
4 This file is part of OGo
6 OGo is free software; you can redistribute it and/or modify it under
7 the terms of the GNU Lesser General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
11 OGo is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
14 License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with OGo; see the file COPYING. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
24 # include <js/jsapi.h>
25 # include <js/jsobj.h>
26 # include <js/jsutil.h>
27 # include <js/jsfun.h>
28 # include <js/jsarray.h>
31 #import <Foundation/Foundation.h>
32 #include <EOControl/EOControl.h>
34 #if NeXT_RUNTIME || APPLE_RUNTIME
35 # include <objc/objc.h>
36 # include <objc/objc-class.h>
39 #if NeXT_Foundation_LIBRARY || APPLE_Foundation_LIBRARY || \
40 COCOA_Foundation_LIBRARY
41 # include <NGExtensions/NGObjectMacros.h>
42 # if 0 // no FoundationExt
43 # include <FoundationExt/objc-runtime.h>
44 # include <FoundationExt/MissingMethods.h>
46 #elif LIB_FOUNDATION_LIBRARY
47 # include <extensions/objc-runtime.h>
50 // TODO: this is true for any gcc 3 ?
51 #if COCOA_Foundation_LIBRARY || NeXT_Foundation_LIBRARY || GNUSTEP_BASE_LIBRARY
52 # define NG_VARARGS_AS_REFERENCE 1