Hello,

Is there a way to add additional code to the output generated by the
ctypes code generator? Specifically, I would like to add some special
comments to prevent the autogenerated files being checked by PyLink and
PyDev.

http://language-binding.net/pyplusplus/documentation/inserting_code.html
talks about a add_registration_code method, but it doesn't seem to exist
for the ctypes generator:

mb = ctypes_module_builder_t( [header_file], symbols_file, 
gccxml_config=gccxml_cfg )
mb.build_code_creator(shared_library_file)
mb.add_registration_code( '#...@pydevcodeanalysisignore', False )

yields

AttributeError: 'ctypes_module_builder_t' object has no attribute
'add_registration_code'


Best,


   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to