mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix Linux compile errors.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@150 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -121,14 +121,14 @@ def make_ctocpp_impl(header, clsname, impl):
|
||||
result += includes+'\n'+resultingimpl+'\n'
|
||||
|
||||
result += wrap_code('#ifdef _DEBUG\n'+ \
|
||||
'long CefCToCpp<'+clsname+'CToCpp, '+clsname+', '+capiname+'>::DebugObjCt = 0;\n'+ \
|
||||
'template<> long CefCToCpp<'+clsname+'CToCpp, '+clsname+', '+capiname+'>::DebugObjCt = 0;\n'+ \
|
||||
'#endif\n')
|
||||
|
||||
return result
|
||||
|
||||
|
||||
def write_ctocpp_impl(header, clsname, dir, backup):
|
||||
file = dir+'\\'+get_capi_name(clsname[3:], False)+'_ctocpp.cc'
|
||||
file = dir+os.sep+get_capi_name(clsname[3:], False)+'_ctocpp.cc'
|
||||
|
||||
if file_exists(file):
|
||||
oldcontents = read_file(file)
|
||||
|
Reference in New Issue
Block a user