mirror of
https://github.com/nicbarker/clay.git
synced 2025-01-23 18:06:04 +00:00
3 lines
154 B
C
3 lines
154 B
C
|
$TYPE$ *$NAME$_Get($NAME$ *array, int index) {
|
||
|
return Clay__Array_RangeCheck(index, array->length) ? &array->internalArray[index] : $DEFAULT_VALUE$;
|
||
|
}
|