Fix so that this file compiles
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e203a700c2
commit
9bafb579c7
1 changed files with 3 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ void add_defined_foreign_type(String *type) {
|
|||
}
|
||||
|
||||
|
||||
String *get_ffi_type(SwigType *ty, String_or_char *name) {
|
||||
String *get_ffi_type(SwigType *ty, const String_or_char *name) {
|
||||
Hash *typemap = Swig_typemap_search("ffitype", ty, name, 0);
|
||||
if (typemap) {
|
||||
String *typespec = Getattr(typemap, "code");
|
||||
|
|
@ -166,9 +166,10 @@ String *get_ffi_type(SwigType *ty, String_or_char *name) {
|
|||
Printf(stderr, "Unsupported data type: %s (was: %s)\n", type_reduced, ty);
|
||||
SWIG_exit(EXIT_FAILURE);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
String *get_lisp_type(SwigType *ty, String_or_char *name)
|
||||
String *get_lisp_type(SwigType *ty, const String_or_char *name)
|
||||
{
|
||||
Hash *typemap = Swig_typemap_search("lisptype", ty, name, 0);
|
||||
if (typemap) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue