Cleanup CForward::Execute using a helper function

Flatten out the nesting a bit.
This commit is contained in:
Peace-Maker
2017-08-25 23:23:37 +02:00
parent 41a9889cdd
commit e609a33e6d
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)