Don't convert string literals to char * in the strings_test example. In constantWrapper(), use SwigType_str() instead of SwigType_lstr() in order to keep const qualifiers. |
||
|---|---|---|
| .. | ||
| example.h | ||
| example.i | ||
| Makefile | ||
| runme.ml | ||
Don't convert string literals to char * in the strings_test example. In constantWrapper(), use SwigType_str() instead of SwigType_lstr() in order to keep const qualifiers. |
||
|---|---|---|
| .. | ||
| example.h | ||
| example.i | ||
| Makefile | ||
| runme.ml | ||