c :: NativeCArray
c $ NativeCArray :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Object :: defaultinit
core :: Pointer :: defaultinit
c :: NativeCArray :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# A native C array, as in a pointer to the first element of the array
extern class NativeCArray `{ void * `}
# Type of contained elements.
type E: nullable Object
# Get element at `index`.
fun [](index: Int): E is abstract
# Set `val` at `index`.
fun []=(index: Int, val: E) is abstract
# Return pointer to the address to the second element of this array
#
# This is the standard `+` operator on pointers in C
fun +(offset: Int): SELF is abstract
end
lib/c/c.nit:67,1--83,3