This project has retired. For details please refer to its Attic page.
Lucy::Object::I32Array – C API Documentation
Apache Lucy™

Lucy::Object::I32Array

parcel Lucy
class variable LUCY_I32ARRAY
struct symbol lucy_I32Array
class nickname lucy_I32Arr
header file Lucy/Object/I32Array.h

Name

Lucy::Object::I32Array

Functions

new
lucy_I32Array* // incremented
lucy_I32Arr_new(
    int32_t *ints,
    size_t size
);
new_blank
lucy_I32Array* // incremented
lucy_I32Arr_new_blank(
    size_t size
);
init
lucy_I32Array*
lucy_I32Arr_init(
    lucy_I32Array *self,
    int32_t *ints,
    size_t size
);

Methods

Set
void
lucy_I32Arr_Set(
    lucy_I32Array *self,
    size_t tick,
    int32_t value
);

Set the value at tick, or throw an error if tick is out of bounds.

Get
int32_t
lucy_I32Arr_Get(
    lucy_I32Array *self,
    size_t tick
);

Return the value at tick, or throw an error if tick is out of bounds.

Get_Size
size_t
lucy_I32Arr_Get_Size(
    lucy_I32Array *self
);

Accessor for ‘size’ member.

Inheritance

Lucy::Object::I32Array is a Clownfish::Obj.