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

Function das_array_at

src/misc/daScriptC.cpp:1191–1193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1189}
1190
1191void * das_array_at ( das_array * arr, uint32_t index, uint32_t stride ) {
1192 return ((Array *)arr)->data + size_t(index) * size_t(stride);
1193}
1194
1195void * das_array_at_i64 ( das_array * arr, uint64_t index, uint32_t stride ) {
1196 // size_t matches das_array_at's pattern: 64-bit on 64-bit platforms (where

Callers 3

test_capi_i64.cppFile · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected