summaryrefslogtreecommitdiff
path: root/Examples/test-suite/li_constraints.i
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2004-11-01 22:31:10 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2004-11-01 22:31:10 +0000
commit00bc9d8ee67b1c274ae79e915cc11e4ddb0a4c7d (patch)
tree5fc933f46f3ba93e928691c61e451a5b7251c70b /Examples/test-suite/li_constraints.i
parentcf415b0c649dfb5d32b1e8f126f4dee203b942d3 (diff)
downloadswig-00bc9d8ee67b1c274ae79e915cc11e4ddb0a4c7d.tar.gz
lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/test-suite/li_constraints.i')
-rw-r--r--Examples/test-suite/li_constraints.i32
1 files changed, 32 insertions, 0 deletions
diff --git a/Examples/test-suite/li_constraints.i b/Examples/test-suite/li_constraints.i
new file mode 100644
index 000000000..4cef26700
--- /dev/null
+++ b/Examples/test-suite/li_constraints.i
@@ -0,0 +1,32 @@
+%module lib_constraints
+%include constraints.i
+
+%inline %{
+void test_nonnegative(double NONNEGATIVE) {
+}
+
+void test_nonpositive(double NONPOSITIVE) {
+}
+
+void test_positive(double POSITIVE) {
+}
+
+void test_negative(double POSITIVE) {
+}
+
+void test_nonzero(double NONZERO) {
+}
+
+void test_nonnull(void *NONNULL) {
+}
+
+void test_align8(void *ALIGN8) {
+}
+
+void test_align4(void *ALIGN4) {
+}
+
+void test_align2(void *ALIGN2) {
+}
+%}
+