Go to the source code of this file.
◆ NS_TESTS
Value:
static void test_ns_make()
Definition at line 28 of file ns_tests.h.
◆ test_ns_make()
| static void test_ns_make |
( |
| ) |
|
|
static |
Definition at line 30 of file ns_tests.h.
30 {
33
36
38
41
43
46}
#define RELEASE_CONTEXT(x)
#define SHUTDOWN_ENGINE(mm, engine)
#define MAKE_ENGINE(mm, engine)
#define MAKE_CONTEXT(engine, x)
static srn_metadata_t absurd_metadata
We use this for testing.
#define AS_STRING(value_ref)
#define IS_A(value_ref, field)
srn_value_t * srn_namespace_make(srn_context_t *ctx, srn_metadata_t *metadata, srn_string_t *name)
Creates a new namespace in the give context.
srn_value_t * srn_string_make(srn_context_t *ctx, srn_metadata_t *metadata, const char *src)
Create a string from a null terminated C string.
bool srn_string_eq(const srn_string_t *a, const srn_string_t *b)