Commit adeb2670 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(ISC_SCALLFUN1): Use ISC_HCALLFUN1 to simplify code. Adapted to

	IscHandlerList changes.
(ISC_SCALLFUN2): Analogous.
(ISC_SCALLFUN3): Analogous.
parent fd2f03b4
......@@ -104,13 +104,13 @@ isc_setabortfn(void (*abortfn)(const char * msg));
#define ISC_SCALLFUN1(SCB, NAME, ARG) \
(*SCB->fun.NAME->hcb->NAME)(SCB->fun.NAME, ARG)
ISC_HCALLFUN1(SCB->handlers, NAME, ARG)
#define ISC_SCALLFUN2(SCB, NAME, A1, A2) \
(*SCB->fun.NAME->hcb->NAME)(SCB->fun.NAME, A1, A2)
ISC_HCALLFUN2(SCB->handlers, NAME, A1, A2)
#define ISC_SCALLFUN3(SCB, NAME, A1, A2, A3) \
(*SCB->fun.NAME->hcb->NAME)(SCB->fun.NAME, A1, A2, A3)
ISC_HCALLFUN3(SCB->handlers, NAME, A1, A2, A3)
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment