Skip to content

Commit b653eb9

Browse files
beardhatcodetolauwae
authored andcommitted
Add primitive type to struct when installing
1 parent 0c7f92a commit b653eb9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Primitives/arduino.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ int prim_index = 0;
149149
if (prim_index < ALL_PRIMITIVES) { \
150150
PrimitiveEntry *p = &primitives[prim_index++]; \
151151
p->name = #prim_name; \
152+
p->t = prim_name##_type; \
152153
p->f = &(prim_name); \
153154
p->f_reverse = nullptr; \
154155
p->f_serialize_state = nullptr; \

0 commit comments

Comments
 (0)