various updates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9ff3cf2abf
commit
40a17a664e
8 changed files with 29 additions and 22 deletions
|
|
@ -23,4 +23,15 @@
|
|||
const int iconst = 37;
|
||||
const double fconst = 3.14;
|
||||
|
||||
%constant(double) PI = 3.14159;
|
||||
|
||||
/* Test address of operator */
|
||||
|
||||
%{
|
||||
static double blah = 1.2345;
|
||||
%}
|
||||
|
||||
%constant(double *) blahptr = &blah;
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue