Fixed last change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
865a5d0c26
commit
942219835f
2 changed files with 6 additions and 2 deletions
|
|
@ -12,6 +12,10 @@
|
|||
|
||||
%}
|
||||
|
||||
typedef unsigned int Pixel;
|
||||
/* Pixel is typedef'd to unsigned char, and SWIG will translate this
|
||||
type into Scheme characters. We would like to translate Pixels to
|
||||
Scheme integers instead, so: */
|
||||
|
||||
SIMPLE_MAP(Pixel, gh_scm2int, gh_int2scm, integer);
|
||||
|
||||
%include gifplot.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue