Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
8
struct hc_value *hc_value_init(struct hc_value *v, const struct hc_type *t) {
9
v->type = t;
10
return v;
11
}
12
13
void hc_value_deinit(struct hc_value *v) {
14
if (v->type->deinit) {
Callers
5
reflect_tests
Function · 0.85
hc_dsl_setenv
Function · 0.85
hc_read_text
Function · 0.85
field_init
Function · 0.85
emit_tests
Function · 0.85
Calls
no outgoing calls
Tested by
2
reflect_tests
Function · 0.68
emit_tests
Function · 0.68