forgot to remove T arg from UNARY_T_FUN macro
parent
fb131919a7
commit
b127575211
|
@ -18,7 +18,7 @@
|
||||||
/* unary function */
|
/* unary function */
|
||||||
#define UNARY_FUN(F) push(F(pop()))
|
#define UNARY_FUN(F) push(F(pop()))
|
||||||
/* unary function with tests */
|
/* unary function with tests */
|
||||||
#define UNARY_T_FUN(F, T, ...) \
|
#define UNARY_T_FUN(F, ...) \
|
||||||
do { double op = pop(); __VA_ARGS__ push(F(op)); } while (0)
|
do { double op = pop(); __VA_ARGS__ push(F(op)); } while (0)
|
||||||
/* commutative function */
|
/* commutative function */
|
||||||
#define COMM_FUN(F) push(F(pop(), pop()))
|
#define COMM_FUN(F) push(F(pop(), pop()))
|
||||||
|
|
Loading…
Reference in New Issue