1 #ifndef INCLUDEJS_ENGINE_PRIVATE_DATA_H
2 #define INCLUDEJS_ENGINE_PRIVATE_DATA_H
4 #include <includejs/engine_value.h>
14 std::unique_ptr<std::map<void *, Value::Function>> functions =
15 std::make_unique<std::map<void *, Value::Function>>();
19 auto data() ->
void *;
20 auto set_data(
void *new_data,
21 std::function<
void(
void *)> new_deleter) -> void;
24 void *data_ =
nullptr;
25 std::function<void(
void *)> deleter_;
Definition: engine_private_data.h:13