27 X("context::make", test_context_make), \
28 X("context::ns_registeration", test_namespace_registeration)
#define RELEASE_CONTEXT(x)
#define ASSERT_NOT_NULL(x)
#define SHUTDOWN_ENGINE(mm, engine)
#define MAKE_ENGINE(mm, engine)
#define MAKE_CONTEXT(engine, x)
static void test_context_make()
static void test_namespace_registeration()
srn_metadata_t absurd_metadata
We use this for testing. Defined once in core.c.
#define AS_STRING(value_ref)
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.
A runtime error, a tag classifying the failure and a human-readable message.