You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
matej@wycliff: ~$ xml2cython.py /usr/include/openssl/bn.h bn.xml
Ignoring <ctypeslib.codegen.typedesc.Structure object at 0x7f7afa8b1390> _IO_FILE
Item not handled for cy_generate <ctypeslib.codegen.typedesc.ArrayType object at 0x23a5a50>
Item not handled for cy_generate <ctypeslib.codegen.typedesc.ArrayType object at 0x23b4810>
Item not handled for cy_generate <ctypeslib.codegen.typedesc.ArrayType object at 0x23b4810>
Item not handled for cy_generate <ctypeslib.codegen.typedesc.ArrayType object at 0x23a5650>
Item not handled for cy_generate <ctypeslib.codegen.typedesc.ArrayType object at 0x23a5650>
Struct member not handled: <ctypeslib.codegen.typedesc.Union object at 0x2397ad0>
Traceback (most recent call last):
File "/home/matej/.local/bin/xml2cython.py", line 165, in <module>
sys.exit(main())
File "/home/matej/.local/bin/xml2cython.py", line 148, in main
ffilter=ffilter, funcs_list=funcs)
File "/home/matej/.local/bin/xml2cython.py", line 71, in generate_main
generate_cython(output, gen, anoenumvals)
File "/home/matej/.local/lib/python2.7/site-packages/cycodegenlib/cycodegen.py", line 12, in generate_cython
cython_code = [cy_generate(i) for i in genitems]
File "/home/matej/.local/lib/python2.7/site-packages/cycodegenlib/cycodegen.py", line 73, in cy_generate
return cy_generate_typedef(item)
File "/home/matej/.local/lib/python2.7/site-packages/cycodegenlib/cycodegen.py", line 30, in cy_generate_typedef
return ["ctypedef %s %s" % (item.typ.name, item.name)]
AttributeError: 'FunctionType' object has no attribute 'name'
The text was updated successfully, but these errors were encountered:
I have this header file from OpenSSL which when run through gccxml gives me this result. When running
xml2cython
on bn.xml I get this crash:The text was updated successfully, but these errors were encountered: