mruby3-sys 3.2.0

Rust bindings for mruby 3.x Ruby language implementation
Documentation
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 *mrdb_strndup(mrb_state *mrb, const char *s, size_t size);
char *mrdb_strdup(mrb_state *mrb, const char *s);

#endif /* APISTRING_H_ */