swig/Examples/test-suite/python/preproc_runme.py
Marcelo Matus b574e77f6b fix macro with empy args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:25:23 +00:00

14 lines
209 B
Python

import preproc
if preproc.endif != 1:
raise RuntimeError
if preproc.define != 1:
raise RuntimeError
if preproc.defined != 1:
raise RuntimeError
if 2*preproc.one != preproc.two:
raise RuntimeError