[ctypesgen] r140 committed - Disable keyword conflict checking for non-Python output (fixes issue #...

1 view
Skip to first unread message

codesite...@google.com

unread,
Feb 17, 2012, 6:46:29 AM2/17/12
to ctyp...@googlegroups.com
Revision: 140
Author: r...@sc3d.org
Date: Fri Feb 17 03:40:44 2012
Log: Disable keyword conflict checking for non-Python output (fixes
issue #29; thanks mozbugbox).
http://code.google.com/p/ctypesgen/source/detail?r=140

Modified:
/trunk/ctypesgencore/processor/pipeline.py

=======================================
--- /trunk/ctypesgencore/processor/pipeline.py Sat Mar 13 16:47:48 2010
+++ /trunk/ctypesgencore/processor/pipeline.py Fri Feb 17 03:40:44 2012
@@ -49,7 +49,9 @@
filter_by_regexes_exclude(data,options)
filter_by_regexes_include(data,options)
remove_macros(data,options)
- fix_conflicting_names(data,options)
+ if options.output_language == "python":
+ # this function is python specific
+ fix_conflicting_names(data,options)
find_source_libraries(data,options)

calculate_final_inclusion(data,options)

Reply all
Reply to author
Forward
0 new messages