The ctypesgen page says you can write:
$ FLAGS = `apr-1-config --cppflags --includes`
$ python wrap.py $FLAGS -llibapr-1.so $HOME/include/apr-1/apr*.h -o apr.py
On my computer, `apr-1-config --cppflags --includes` produces:
-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -
I/usr/local/apr/include/apr-1
Ctypesgen doesn't support -D or -no-cpp-precomp and it would throw an error if
anybody tried
this example.
Solution: update the front page?
Original issue reported on code.google.com by TimM...@gmail.com on 1 Jul 2008 at 4:01
Original issue reported on code.google.com by
TimM...@gmail.com
on 1 Jul 2008 at 4:01