Separate the parts of make_bindings.py out into common parts, and SWIG and SIP specific parts.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2009-05-02 23:07:51 +00:00
parent 4e735ed6a6
commit 0cbc1d0251
5 changed files with 315 additions and 313 deletions

View File

@@ -23,6 +23,8 @@ import string
import sys
import types
from common import *
from xml.dom import minidom
option_dict = {
@@ -42,12 +44,6 @@ for opt in option_dict:
options, arguments = parser.parse_args()
def get_first_value(alist):
if len(alist) > 0:
return alist[0]
else:
return ""
class ClassDefinition:
def __init__(self):
self.name = ""