Array Type

Overview

Array type is used to represents a one-dimensional sequence of elements of the same type. Moreā€¦

#include <jnc_ArrayType.h>

// enums

enum jnc_ArrayTypeFlag;

// structs

struct jnc_ArrayType;

// global functions

jnc_Type*
jnc_ArrayType_getElementType(jnc_ArrayType* type);

size_t
jnc_ArrayType_getElementCount(jnc_ArrayType* type);

Detailed Documentation

Array type is used to represents a one-dimensional sequence of elements of the same type.

Just like in C, Jancy arrays are not dynamic. Compiler has to know the number of elements in array during compile-time.