[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:
Benoît Minisini 2010-08-29 20:53:23 +00:00
parent 62c381c2f6
commit db20edec3e

View file

@ -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)); \
\