PageRenderTime 50ms CodeModel.GetById 36ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/rel-1-3-15/SWIG/Examples/test-suite/lib_constraints.i

#
Swig | 32 lines | 22 code | 10 blank | 0 comment | 0 complexity | 7c0aeee0b9dccd9b6dd35cf951bb78b7 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1%module lib_constraints
 2%include constraints.i
 3
 4%inline %{
 5void test_nonnegative(double NONNEGATIVE) {
 6}
 7
 8void test_nonpositive(double NONPOSITIVE) {
 9}
10
11void test_positive(double POSITIVE) {
12}
13
14void test_negative(double POSITIVE) {
15}
16
17void test_nonzero(double NONZERO) {
18}
19
20void test_nonnull(void *NONNULL) {
21}
22
23void test_align8(void *ALIGN8) {
24}
25
26void test_align4(void *ALIGN4) {
27}
28
29void test_align2(void *ALIGN2) {
30}
31%}
32