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:
		@@ -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 = ""
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user