diff --git a/lib/libesp32/berry/src/be_constobj.h b/lib/libesp32/berry/src/be_constobj.h index 3ef55eebd..485bf85e6 100644 --- a/lib/libesp32/berry/src/be_constobj.h +++ b/lib/libesp32/berry/src/be_constobj.h @@ -422,7 +422,7 @@ const bvector _name = { \ } #define be_define_const_native_module(_module) \ -const bntvmodule_t be_native_module_##_module = { \ +const bntvmodule_t be_native_module_##_module = { \ #_module, \ 0, 0, \ (bmodule*)&(m_lib##_module) \ diff --git a/lib/libesp32/berry/src/berry.h b/lib/libesp32/berry/src/berry.h index bae47a590..1a99b9190 100644 --- a/lib/libesp32/berry/src/berry.h +++ b/lib/libesp32/berry/src/berry.h @@ -765,7 +765,6 @@ BERRY_API bint be_str2int(const char *str, const char **endstr); * @return (???) */ BERRY_API breal be_str2real(const char *str, const char **endstr); -BERRY_API const char *be_str2num(bvm *vm, const char *str); /** * @fn const char* be_str2num(bvm *vm, const char *str) @@ -792,7 +791,6 @@ BERRY_API const char* be_str2num(bvm *vm, const char *str); */ BERRY_API int be_top(bvm *vm); - /** * @fn const char* be_typename(bvm *vm, int index) * @note FFI function