2013-04-17, 02:03
I reread your message.
String numeric(int type, const String& heading, const String& defaultt = emptyString);
diff --git a/xbmc/interfaces/python/PythonSwig.cpp.template b/xbmc/interfaces/python/PythonSwig.cpp.template
index 2ad6c77..c0b3e9b 100644
--- a/xbmc/interfaces/python/PythonSwig.cpp.template
+++ b/xbmc/interfaces/python/PythonSwig.cpp.template
@@ -137,8 +137,9 @@ void doMethod(method, MethodType methodType)
if (useKeywordParsing && !doAsMappingIndex)
{ %>
static const char *keywords[] = {<%
- params.each { %>
- "${it.@name}",<% } %>
+ params.each {
+ String kword = it.@name.replace("defaultt", "default") %>
+ "${kword}",<% } %>
NULL};
<% }
params.each {
(2013-06-02, 04:20)jmarshall Wrote: @Nuka1195: Mind throwing that hacky fix up as a PR and ping @jimfcarroll?