den-run-ai / ctypesgen

Automatically exported from code.google.com/p/ctypesgen
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

ctypesgen doesn't seem to support the example on the front page #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Sounds good. What would be a good cross-platform example?

Original comment by jame...@gmail.com on 1 Jul 2008 at 2:10