Fix examples after regressions.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Oliver Buchtala 2012-09-08 01:03:00 +00:00
commit cbb5b711ab
7 changed files with 2601 additions and 26 deletions

8
Examples/javascript/simple/example.i Executable file → Normal file
View file

@ -1,15 +1,7 @@
/* File : example.i */
%module example
%include "std_string.i"
%inline %{
extern int gcd(int x, int y);
extern float gcd(float x, float y);
extern char* helloString(char* s);
extern void delete_helloString(char *newstr);
extern std::string helloString(std::string s);
extern void bar(int x, int y = 3, int z = 4);
extern double Foo;
%}