swig/Examples/pike/enum
William S Fulton 8e2bc595c6 Remove use of preinst-swig script
Complete the prototype removal in ca1431.

The script prevents SWIGTOOL=gdb from working as gdb can't be used to
debug a shell script, it requires a binary.

Add support for SWIGTOOL in all the examples.

SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles.

See issue #473.
2015-08-21 22:43:17 +01:00
..
example.cxx The great merge 2002-11-30 22:01:28 +00:00
example.h The great merge 2002-11-30 22:01:28 +00:00
example.i The great merge 2002-11-30 22:01:28 +00:00
Makefile Remove use of preinst-swig script 2015-08-21 22:43:17 +01:00
README *** empty log message *** 2003-04-30 20:54:37 +00:00
runme.pike *** empty log message *** 2003-04-30 20:54:37 +00:00

This example will not compile with Pike versions 7.4.20 unless you first
patch the Pike sources. The problem is for line 91 of Pike's "stralloc.h"
(usually installed as /usr/local/pike/7.4.10/include/pike/stralloc.h). That
line reads:

    tmp.ptr=ptr;

but should be patched to read:

    tmp.ptr=(p_wchar0 *) ptr;

This bug has been reported to the Pike developers.