update headers

This commit is contained in:
takase1121
2021-11-08 12:18:13 +08:00
parent b26ffb4731
commit 68eb6810d9
2 changed files with 123 additions and 492 deletions
+1
View File
@@ -161,6 +161,7 @@ static void *api_require(const char *symbol) {
for (int i = 0; i < sizeof(nodes) / sizeof(fnptr_t); i++)
if (strcmp(nodes[i].name, symbol) == 0)
return nodes[i].addr;
fprintf(stderr, "warning: %s cannot be exported.", symbol);
return NULL;
}
#endif