Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (22 sloc) 519 Bytes
// Copyright (c) Andrew Fischer. See LICENSE file for license terms.
#include "common_headers.h"
#include "kernel.h"
#include "map.h"
#include "types/hashtable.h"
namespace circa {
extern "C" {
using namespace circa;
void circa_set_map(caValue* map)
make(, map);
caValue* circa_map_insert(caValue* map, caValue* key)
return circa::hashtable_t::table_insert(map, key, false);
caValue* circa_map_get(caValue* map, caValue* key)
return circa::hashtable_t::get_value(map, key);
Jump to Line
Something went wrong with that request. Please try again.