result = (func)((OnigCalloutArgs* )&args, user);\
} while (0)
-#define RETRACTION_CALLOUT_CODE(func, dir, sid, cstart, cend, user) do {\
+#define RETRACTION_CALLOUT_CODE(func, sid, cstart, cend, user) do {\
int result;\
CalloutArgs args;\
- CALLOUT_CODE_BODY(func, dir, sid, cstart, cend, user, args, result);\
+ CALLOUT_CODE_BODY(func, ONIG_CALLOUT_DIRECTION_RETRACTION, sid, cstart, cend, user, args, result);\
switch (result) {\
case ONIG_CALLOUT_FAIL:\
goto fail;\
mem_end_stk[stk->zid] = stk->u.mem.end;\
}\
else if (stk->type == STK_CALLOUT_CODE) {\
- RETRACTION_CALLOUT_CODE(msa->mp->retraction_callout_by_code, ONIG_CALLOUT_DIRECTION_RETRACTION, stk->zid, stk->u.callout_code.content, stk->u.callout_code.content_end, msa->mp->callout_user_data);\
+ RETRACTION_CALLOUT_CODE(msa->mp->retraction_callout_by_code, stk->zid, stk->u.callout_code.content, stk->u.callout_code.content_end, msa->mp->callout_user_data);\
}\
}\
}\