mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-09 21:28:39 +01:00
new API functions for maps: wrenSetSlotNewMap wrenGetMapCount wrenGetMapContainsKey wrenGetMapValue wrenSetMapValue wrenRemoveMapValue
37 lines
877 B
C
37 lines
877 B
C
#pragma once
|
|
#ifndef WREN_API_TESTS_H
|
|
#define WREN_API_TESTS_H
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
#include "wren.h"
|
|
|
|
#include "benchmark.h"
|
|
#include "call.h"
|
|
#include "call_calls_foreign.h"
|
|
#include "call_wren_call_root.h"
|
|
#include "error.h"
|
|
#include "get_variable.h"
|
|
#include "foreign_class.h"
|
|
#include "handle.h"
|
|
#include "lists.h"
|
|
#include "maps.h"
|
|
#include "new_vm.h"
|
|
#include "reset_stack_after_call_abort.h"
|
|
#include "reset_stack_after_foreign_construct.h"
|
|
#include "resolution.h"
|
|
#include "slots.h"
|
|
#include "user_data.h"
|
|
|
|
int APITest_Run(WrenVM* vm, const char* inTestName);
|
|
|
|
WrenForeignMethodFn APITest_bindForeignMethod(
|
|
WrenVM* vm, const char* module, const char* className,
|
|
bool isStatic, const char* signature);
|
|
|
|
WrenForeignClassMethods APITest_bindForeignClass(
|
|
WrenVM* vm, const char* module, const char* className);
|
|
|
|
|
|
#endif //WREN_API_TESTS_H
|