[INTERPRETER]
* OPT: Do not reset the native method error flag before calling a native method, as it is reset just after. Maybe it works, maybe not... git-svn-id: svn://localhost/gambas/trunk@3157 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
62c381c2f6
commit
db20edec3e
1 changed files with 1 additions and 1 deletions
|
@ -1035,7 +1035,7 @@ void EXEC_native_check(bool defined)
|
|||
|
||||
#define EXEC_call_native_inline(_exec, _object, _type, _param) \
|
||||
({ \
|
||||
EXEC_set_native_error(FALSE); \
|
||||
if (0) EXEC_set_native_error(FALSE); \
|
||||
\
|
||||
(*(_exec))((_object), (void *)(_param)); \
|
||||
\
|
||||
|
|
Loading…
Reference in a new issue