summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger/tools/mrdb/apistring.h
blob: e48478d2e444f22ad89bc839f8df836441740cf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * apistring.h
 */

#ifndef APISTRING_H_
#define APISTRING_H_

#include "mruby.h"

/* both functions return a null pointer on failure */
char *mrb_debug_strndup(mrb_state *mrb, const char *s, size_t size);
char *mrb_debug_strdup(mrb_state *mrb, const char *s);

#endif /* APISTRING_H_ */