1 #ifndef SAYORI_JSE_FUNCTION_H
2 #define SAYORI_JSE_FUNCTION_H
4 char* jse_strstr(
const char* haystack,
const char* needle);
5 void jse_ncpy(
char *destination,
const char *source,
int length);
6 void jse_trim(
char *str);
7 char* jse_mergeBuffers(
char *buffer1,
char *buffer2,
int bufferSize1,
int bufferSize2);
8 void jse_func_tolower(
char* as);
9 void jse_func_toupper(
char* as);
10 char jse_func_char_tolower(
char ch);
11 int jse_func_atoi(
const char* str);
12 int jse_p_int(
const char* str,
char** endptr);
13 char* jse_strdup(
const char* str);
18 void jse_canvas_config(
struct js*
js);
19 void jse_canvas_destroy(
struct js*
js);
20 void jse_event_config(
struct js*
js);
21 void jse_array_config(
struct js*
js);
22 void jse_array_destroy(
struct js*
js);
23 int jse_getInt(
struct js *
js, jsval_t arg);