Patch from Hans Oesterholt for supporting MzScheme 30x.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Matthias Köppe 2005-03-30 11:43:22 +00:00
commit c4de71d6e5
2 changed files with 45 additions and 1 deletions

View file

@ -219,6 +219,13 @@ SIMPLE_MAP(char *, SCHEME_STRINGP, SCHEME_STR_VAL,
SIMPLE_MAP(const char *, SCHEME_STRINGP, SCHEME_STR_VAL,
scheme_make_string_without_copying, string);
/* For MzScheme 30x: Use these typemaps if you are not going to use
UTF8 encodings in your C code.
SIMPLE_MAP(char *,SCHEME_BYTE_STRINGP, SCHEME_BYTE_STR_VAL,
scheme_make_byte_string_without_copying,bytestring);
SIMPLE_MAP(const char *,SCHEME_BYTE_STRINGP, SCHEME_BYTE_STR_VAL,
scheme_make_byte_string_without_copying,bytestring);
*/
/* Const primitive references. Passed by value */