default_value fails, incorrect parameter order
Gustavo,
You must be getting sick of me. The default value stuff does not yet work for CppClass.
When adding parameter annotations
"smlTranspo
I get the following
Traceback (most recent call last):
File "./pysyncml.py", line 200, in <module>
main()
File "./pysyncml.py", line 197, in main
root_
File "../pybindgen/
File "../pybindgen/
File "../pybindgen/
File "../pybindgen/
File "../pybindgen/
File "../pybindgen/
File "../pybindgen/
File "../pybindgen/
File "../pybindgen/
File "../pybindgen/
ValueError: Error: optional parameter followed by a non-optional one (debug: self._parse_
make: *** [build/
Adding 'null_ok'='True' instead seems to work fine.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- PyBindGen Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #252764.
Can you help with this problem?
Provide an answer of your own, or ask John Stowers for more information if necessary.