Cleanup CForward::Execute using a helper function

Flatten out the nesting a bit.
This commit is contained in:
Peace-Maker
2017-07-22 23:08:31 +02:00
parent de42dfc783
commit 60320cd845
2 changed files with 56 additions and 53 deletions
+1
View File
@@ -74,6 +74,7 @@ private:
CForward(ExecType et, const char *name,
const ParamType *types, unsigned num_params);
int _ExecutePushRef(IPluginFunction *func, ParamType type, FwdParamInfo *param);
void _Int_PushArray(cell_t *inarray, unsigned int cells, int flags);
void _Int_PushString(cell_t *inarray, unsigned int cells, int sz_flags, int cp_flags);
inline int SetError(int err)