[Guile -scm] Add typemaps for "long long"; whether the generated code
compiles, however, depends on the version and configuration of Guile. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
670217d300
commit
6cbd9a9b3c
2 changed files with 11 additions and 0 deletions
|
|
@ -275,6 +275,13 @@
|
|||
// SIMPLE_MAP(char *, SWIG_scm2str, gh_str02scm, string);
|
||||
// SIMPLE_MAP(const char *, SWIG_scm2str, gh_str02scm, string);
|
||||
|
||||
/* Define long long typemaps -- uses functions that are only defined
|
||||
in recent versions of Guile, availability also depends on Guile's
|
||||
configuration. */
|
||||
|
||||
SIMPLE_MAP(long long, gh_scm2long_long, gh_long_long2scm, integer);
|
||||
SIMPLE_MAP(unsigned long long, gh_scm2ulong_long, gh_ulong_long2scm, integer);
|
||||
|
||||
/* Strings */
|
||||
|
||||
%typemap (in, doc="$NAME is a string") char *(int must_free = 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue