mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-10-03 04:18:09 +03:00
Use libffi for library calls
Use libffi to portably call arbitrary functions at runtime, rather than forcing library functions to use a standard prototype.
This commit is contained in:
@@ -50,6 +50,7 @@ void string_append_cstr(struct string **a, const char *b, size_t b_size);
|
||||
void string_push_back(struct string **s, int c);
|
||||
void string_pop_back(struct string **s);
|
||||
void string_erase(struct string **s, int index);
|
||||
void string_clear(struct string *s);
|
||||
|
||||
// queries
|
||||
int string_find(const struct string *haystack, const struct string *needle);
|
||||
|
||||
Reference in New Issue
Block a user