MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / builtin_table_values

Function builtin_table_values

src/simulate/runtime_table.cpp:201–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 }
200
201 void builtin_table_values ( Sequence & result, const Table & tab, int32_t stride, Context * __context__, LineInfoArg * at ) {
202 char * iter = __context__->allocateIterator(sizeof(TableValuesIterator),"table values iterator", at);
203 new (iter) TableValuesIterator(&tab, stride, at);
204 result = { (Iterator *) iter };
205 }
206
207 void builtin_table_get_key ( void * result, const Table & tab, const void * value_ptr, int32_t value_stride, int32_t key_stride, Context * __context__, LineInfoArg * at ) {
208 const char * vp = (const char *)value_ptr;

Callers 1

for_each_tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected