/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

  1. %module lib_constraints
  2. %include constraints.i
  3. %inline %{
  4. void test_nonnegative(double NONNEGATIVE) {
  5. }
  6. void test_nonpositive(double NONPOSITIVE) {
  7. }
  8. void test_positive(double POSITIVE) {
  9. }
  10. void test_negative(double POSITIVE) {
  11. }
  12. void test_nonzero(double NONZERO) {
  13. }
  14. void test_nonnull(void *NONNULL) {
  15. }
  16. void test_align8(void *ALIGN8) {
  17. }
  18. void test_align4(void *ALIGN4) {
  19. }
  20. void test_align2(void *ALIGN2) {
  21. }
  22. %}