extract_module_id is now not static
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@
|
|||||||
- WASM modules as an alternative backend.
|
- WASM modules as an alternative backend.
|
||||||
- Multi-language support (Rust, Go, Zig, etc.).
|
- Multi-language support (Rust, Go, Zig, etc.).
|
||||||
- WASM runtime optional, old or retro hardware can ignore it.
|
- WASM runtime optional, old or retro hardware can ignore it.
|
||||||
- Sandbox and safety checks for WASM modules.
|
- Sandbox and safety checks for WASM modules.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ size_t module_count = 0;
|
|||||||
|
|
||||||
size_t stk_module_count(void) { return module_count; }
|
size_t stk_module_count(void) { return module_count; }
|
||||||
|
|
||||||
static char *extract_module_id(const char *path)
|
char *extract_module_id(const char *path)
|
||||||
{
|
{
|
||||||
char *id, *dot;
|
char *id, *dot;
|
||||||
const char *basename = strrchr(path, '/');
|
const char *basename = strrchr(path, '/');
|
||||||
|
|||||||
Reference in New Issue
Block a user