From f5e6ba956d2cbd92ff755812f18c0b1385a5fd21 Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Fri, 21 Apr 2023 22:36:18 +0200 Subject: [PATCH] Berry upstream (#18471) --- lib/libesp32/berry/src/be_constobj.h | 2 +- lib/libesp32/berry/src/berry.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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