mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
fix _DMATH_H
This commit is contained in:
parent
b69b0787fa
commit
a0e721bd03
@ -1 +1 @@
|
|||||||
Subproject commit f00cb4c3456d335556031c9331427e2ed8d30df3
|
Subproject commit 7699e35384a578d9d195a8b15555d2e6ff6a81b3
|
@ -7,6 +7,12 @@
|
|||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
#if PK_ENABLE_DETERMINISM
|
||||||
|
#ifndef _DMATH_H
|
||||||
|
#error "_DMATH_H not defined"
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#define ONE_ARG_FUNC(name, func) \
|
#define ONE_ARG_FUNC(name, func) \
|
||||||
static bool math_##name(int argc, py_Ref argv) { \
|
static bool math_##name(int argc, py_Ref argv) { \
|
||||||
PY_CHECK_ARGC(1); \
|
PY_CHECK_ARGC(1); \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user