mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add standard argument checks as part of translator code generation.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@219 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -46,6 +46,9 @@ def make_ctocpp_impl_new(clsname, name, func):
|
||||
|
||||
result += '\n // END DELETE BEFORE MODIFYING'
|
||||
|
||||
result += '\n if (CEF_MEMBER_MISSING(struct_, '+func.get_capi_name()+'))'
|
||||
result += '\n return;'
|
||||
|
||||
result += '\n}\n\n'
|
||||
return result
|
||||
|
||||
|
Reference in New Issue
Block a user