Changeset 3145 for trunk/psLib/swig
- Timestamp:
- Feb 7, 2005, 1:26:25 PM (21 years ago)
- Location:
- trunk/psLib/swig
- Files:
-
- 2 edited
-
Makefile.am (modified) (2 diffs)
-
pslib.i (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/swig/Makefile.am
r3132 r3145 5 5 rm -rf psLibModule 6 6 7 INCLUDES = -I$(top_srcdir)/src \ 8 -I$(top_srcdir)/src/astronomy \ 9 -I$(top_srcdir)/src/collections \ 10 -I$(top_srcdir)/src/dataManip \ 11 -I$(top_srcdir)/src/fileUtils \ 12 -I$(top_srcdir)/src/image \ 13 -I$(top_srcdir)/src/sysUtils 7 SRCDIR = $(shell cd $(top_srcdir) && pwd) 8 INCLUDES = -I$(SRCDIR)/src \ 9 -I$(SRCDIR)/src/astronomy \ 10 -I$(SRCDIR)/src/collections \ 11 -I$(SRCDIR)/src/dataManip \ 12 -I$(SRCDIR)/src/fileUtils \ 13 -I$(SRCDIR)/src/image \ 14 -I$(SRCDIR)/src/sysUtils 14 15 15 16 #################################################### … … 25 26 echo "includes=$(INCLUDES)" > psLibModule/setup.txt 26 27 echo "ldflags=-L$(top_builddir)/src $(PSLIB_LIBS)" >> psLibModule/setup.txt 27 echo "cflags=$( PSLIB_CFLAGS)-Wno-unused -Wno-strict-aliasing" >> psLibModule/setup.txt28 echo "cflags=$(CFLAGS) -std=c99 -Wno-unused -Wno-strict-aliasing" >> psLibModule/setup.txt 28 29 29 30 psLibModule/pslib_wrap.c: psLibModule pslib.i -
trunk/psLib/swig/pslib.i
r3124 r3145 5 5 #define SWIG 6 6 #include "pslib.h" 7 8 /* SWIG uses malloc/free - make it use the pslib memory functions instead. */ 9 /* 10 #define malloc(S) psAlloc(S) 11 #define realloc(P,S) psRealloc(P,S) 12 #define free(P) psFree(P) 13 */ 14 7 15 %} 16 17 /* grab the typedefs used throughout psLib, e.g. psU8, psU16,... */ 18 %import "psType.h" 19 %import "psMemory.h" 8 20 9 21 %include "cpointer.i"
Note:
See TracChangeset
for help on using the changeset viewer.
