vendor/mruby-source/mrbgems/mruby-bin-debugger/tools/mrdb/apistring.h
raw| 1 | /* |
| 2 | * apistring.h |
| 3 | */ |
| 4 | |
| 5 | #ifndef APISTRING_H_ |
| 6 | #define APISTRING_H_ |
| 7 | |
| 8 | #include "mruby.h" |
| 9 | |
| 10 | /* both functions return a null pointer on failure */ |
| 11 | char *mrdb_strndup(mrb_state *mrb, const char *s, size_t size); |
| 12 | char *mrdb_strdup(mrb_state *mrb, const char *s); |
| 13 | |
| 14 | #endif /* APISTRING_H_ */ |