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:
Marshall Greenblatt
2011-04-18 23:25:17 +00:00
parent 1f7a4b4566
commit 026193a513
2 changed files with 14 additions and 0 deletions

View File

@ -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