annotate lib/swig/swigwin-2.0.11/example.i @ 2000:985fff9fb62d

constructor functions
author zipi
date Tue, 05 Nov 2013 21:55:52 +0000
parents b3009adc0e2f
children
rev   line source
1899
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1 %module example
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2 %{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3 #include "example.h"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4 %}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5 int gcd(int x, int y);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
6 extern double Foo;