PageRenderTime 44ms CodeModel.GetById 38ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/li_constraints.i

#
Swig | 35 lines | 16 code | 8 blank | 11 comment | 0 complexity | 11a8cc03ff2f655676dea2cc4f16615c MD5 | raw file
 1%module li_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
23/* These generated non-portable code and there isn't an obvious fix
24
25void test_align8(void *ALIGN8) {
26}
27
28void test_align4(void *ALIGN4) {
29}
30
31void test_align2(void *ALIGN2) {
32}
33*/
34%}
35