swig/Examples/pike/enum
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2013-04-19 22:47:29 +01:00
..
example.cxx
example.h
example.i
Makefile
README
runme.pike

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.