MCPcopy Create free account
hub / github.com/codr7/hacktical-c / hc_value_init

Function hc_value_init

reflect/reflect.c:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include "stream1/stream1.h"
7
8struct hc_value *hc_value_init(struct hc_value *v, const struct hc_type *t) {
9 v->type = t;
10 return v;
11}
12
13void hc_value_deinit(struct hc_value *v) {
14 if (v->type->deinit) {

Callers 5

reflect_testsFunction · 0.85
hc_dsl_setenvFunction · 0.85
hc_read_textFunction · 0.85
field_initFunction · 0.85
emit_testsFunction · 0.85

Calls

no outgoing calls

Tested by 2

reflect_testsFunction · 0.68
emit_testsFunction · 0.68