diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a05726..7fec0b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.10) -project(fun VERSION 0.41.9 LANGUAGES C) +project(fun VERSION 0.41.10 LANGUAGES C) set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD_REQUIRED ON) diff --git a/scripts/check_op_includes.py b/scripts/check_op_includes.py index 8b58889..fbc58e9 100755 --- a/scripts/check_op_includes.py +++ b/scripts/check_op_includes.py @@ -107,15 +107,21 @@ def parse_includes_from_vm(text: str) -> set[str]: def map_token(d: str, n: str) -> str: # Directory-specific namespaces if d == "curl": - return f"CURL_{n.upper()}" + if n in {"download", "get", "post"}: + return f"CURL_{n.upper()}" if d == "openssl": - return f"OPENSSL_{n.upper()}" + if n in {"md5", "ripemd160", "sha256", "sha512"}: + return f"OPENSSL_{n.upper()}" if d == "rust": - return f"RUST_{n.upper()}" + if n in {"get_sp", "hello", "hello_args", "hello_args_return", "set_exit" }: + return f"RUST_{n.upper()}" if d == "cpp": if n == "add": return "CPP_ADD" return f"CPP_{n.upper()}" + if d == "kcgi": + if n in {"end", "parse", "reply_start", "write"}: + return f"KCGI_{n.upper()}" if d == "ini": if n in {"load", "free", "get_string", "get_int", "get_double", "get_bool", "set", "unset", "save"}: return f"INI_{n.upper()}"