[Guile] New typemaps for FILE *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
5f17119bd1
commit
b53f74cb5f
3 changed files with 58 additions and 1 deletions
|
|
@ -3,7 +3,12 @@
|
|||
|
||||
$Header$ */
|
||||
|
||||
/* Basic types */
|
||||
/* Unlike other SWIG language modules, the Guile module handles all
|
||||
non-pointer types uniformly via typemaps. Here are the
|
||||
definitions.
|
||||
|
||||
The SIMPLE_MAP macro below defines the whole set of typemaps needed
|
||||
for simple types. */
|
||||
|
||||
%define SIMPLE_MAP(C_NAME, SCM_TO_C, C_TO_SCM, SCM_NAME)
|
||||
%typemap (guile, in) C_NAME "$target = SCM_TO_C($source);";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue