annotate lib/swig/swigwin-2.0.11/Lib/attribute.i @ 1899:b3009adc0e2f

Adding swig, gitignore, hgignore
author Nomad
date Mon, 21 Oct 2013 10:42:27 +0200
parents
children
rev   line source
1899
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1 /* -----------------------------------------------------------------------------
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2 * attribute.i
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3 *
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4 * SWIG library file for implementing attributes.
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5 * ----------------------------------------------------------------------------- */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
6
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
7 /* we use a simple exception warning here */
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
8 %{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
9 #include <stdio.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
10 %}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
11 #define %attribute_exception(code,msg) printf("%s\n",msg)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
12
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
13 #ifndef %arg
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
14 #define %arg(x...) x
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
15 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
16
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
17 #ifndef %mangle
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
18 #define %mangle(Type...) #@Type
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
19 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
20
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
21 %include <typemaps/attribute.swg>