
* src/bytecode.c (bcall0): * src/comp.c (bcall0): * src/eval.c (apply1): * src/lisp.h (call0): * src/thread.c (invoke_thread_function): Use calln instead of calling Ffuncall directly. * admin/coccinelle/calln.cocci: New semantic patch.
21 lines
223 B
Text
21 lines
223 B
Text
// Use the calln macro where possible.
|
|
@@
|
|
@@
|
|
- CALLN ( Ffuncall,
|
|
+ calln (
|
|
...)
|
|
|
|
@@
|
|
constant c;
|
|
expression e;
|
|
@@
|
|
- Ffuncall ( c, &e )
|
|
+ calln ( e )
|
|
|
|
@@
|
|
constant c;
|
|
expression e;
|
|
@@
|
|
- Ffuncall ( c, &e,
|
|
+ calln ( e,
|
|
...)
|