This submodule implements dynamically typed integers, floats, chars, and cu_bool_t. For integers, there are two schemes, one based on the stdint.h
definitions for int8_t
, int16_t
, int32_t
, int64_t
, and their unsigned variants, and one based on the ordinary C integers. The latter scheme uses aliases to the former, so their types may not be distinct.
#define cudyn_false | ( | ) | cudynP_false |
The dynamic boolean false value.
#define cudyn_true | ( | ) | cudynP_true |
The dynamic boolean true value.
cuoo_type_t cudyn_bool_type | ( | void | ) |
The type descriptor for dynamically typed cu_bool_t
objects.
cuex_t cudyn_char | ( | char | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_char_type | ( | void | ) |
The type descriptor for dynamically typed char
objects.
cuex_t cudyn_chararr | ( | size_t | cnt, | |
char * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
char* cudyn_chararr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed char
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
char* cudyn_chararr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed char
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_chararr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed char
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_chararr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_chararr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed char
[cnt] arrays.
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
If e is a dynamically typed cuex_t
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
Assuming e is a dynamically typed cuex_t
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_cuexarr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed cuex_t
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_cuexarr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_cuexarr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed cuex_t
[cnt] arrays.
cuex_t cudyn_double | ( | double | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_double_type | ( | void | ) |
The type descriptor for dynamically typed double
objects.
cuex_t cudyn_doublearr | ( | size_t | cnt, | |
double * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
double* cudyn_doublearr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed double
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
double* cudyn_doublearr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed double
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_doublearr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed double
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_doublearr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_doublearr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed double
[cnt] arrays.
cuex_t cudyn_float | ( | float | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_float_type | ( | void | ) |
The type descriptor for dynamically typed float
objects.
cuex_t cudyn_floatarr | ( | size_t | cnt, | |
float * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
float* cudyn_floatarr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed float
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
float* cudyn_floatarr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed float
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_floatarr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed float
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_floatarr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_floatarr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed float
[cnt] arrays.
cuex_t cudyn_int | ( | int | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cuex_t cudyn_int16 | ( | int16_t | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_int16_type | ( | void | ) |
The type descriptor for dynamically typed int16_t
objects.
cuex_t cudyn_int16arr | ( | size_t | cnt, | |
int16_t * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
int16_t* cudyn_int16arr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed int16_t
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
int16_t* cudyn_int16arr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed int16_t
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_int16arr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed int16_t
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_int16arr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_int16arr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed int16_t
[cnt] arrays.
cuex_t cudyn_int32 | ( | int32_t | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_int32_type | ( | void | ) |
The type descriptor for dynamically typed int32_t
objects.
cuex_t cudyn_int32arr | ( | size_t | cnt, | |
int32_t * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
int32_t* cudyn_int32arr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed int32_t
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
int32_t* cudyn_int32arr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed int32_t
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_int32arr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed int32_t
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_int32arr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_int32arr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed int32_t
[cnt] arrays.
cuex_t cudyn_int64 | ( | int64_t | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_int64_type | ( | void | ) |
The type descriptor for dynamically typed int64_t
objects.
cuex_t cudyn_int64arr | ( | size_t | cnt, | |
int64_t * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
int64_t* cudyn_int64arr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed int64_t
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
int64_t* cudyn_int64arr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed int64_t
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_int64arr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed int64_t
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_int64arr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_int64arr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed int64_t
[cnt] arrays.
cuex_t cudyn_int8 | ( | int8_t | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_int8_type | ( | void | ) |
The type descriptor for dynamically typed int8_t
objects.
cuex_t cudyn_int8arr | ( | size_t | cnt, | |
int8_t * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
int8_t* cudyn_int8arr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed int8_t
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
int8_t* cudyn_int8arr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed int8_t
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_int8arr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed int8_t
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_int8arr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_int8arr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed int8_t
[cnt] arrays.
cudyn_type_t cudyn_int_type | ( | void | ) |
The type descriptor for dynamically typed int
objects.
cuex_t cudyn_intarr | ( | size_t | cnt, | |
int * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
int* cudyn_intarr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed int
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
int* cudyn_intarr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed int
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_intarr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed int
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_intarr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_intarr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed int
[cnt] arrays.
cuex_t cudyn_long | ( | long | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_long_type | ( | void | ) |
The type descriptor for dynamically typed long
objects.
cuex_t cudyn_longarr | ( | size_t | cnt, | |
long * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
long* cudyn_longarr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed long
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
long* cudyn_longarr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed long
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_longarr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed long
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_longarr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_longarr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed long
[cnt] arrays.
cuex_t cudyn_short | ( | short | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_short_type | ( | void | ) |
The type descriptor for dynamically typed short
objects.
cuex_t cudyn_shortarr | ( | size_t | cnt, | |
short * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
short* cudyn_shortarr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed short
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
short* cudyn_shortarr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed short
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_shortarr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed short
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_shortarr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_shortarr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed short
[cnt] arrays.
If e was created with cudyn_bool(x)
, for some x, returns x, else undefied bohaviour.
char cudyn_to_char | ( | cuex_t | e | ) |
If e was created with cudyn_char(x)
, for some x, returns x, else undefied bohaviour.
double cudyn_to_double | ( | cuex_t | e | ) |
If e was created with cudyn_double(x)
, for some x, returns x, else undefied bohaviour.
float cudyn_to_float | ( | cuex_t | e | ) |
If e was created with cudyn_float(x)
, for some x, returns x, else undefied bohaviour.
int cudyn_to_int | ( | cuex_t | e | ) |
If e was created with cudyn_int(x)
, for some x, returns x, else undefied bohaviour.
int16_t cudyn_to_int16 | ( | cuex_t | e | ) |
If e was created with cudyn_int16(x)
, for some x, returns x, else undefied bohaviour.
int32_t cudyn_to_int32 | ( | cuex_t | e | ) |
If e was created with cudyn_int32(x)
, for some x, returns x, else undefied bohaviour.
int64_t cudyn_to_int64 | ( | cuex_t | e | ) |
If e was created with cudyn_int64(x)
, for some x, returns x, else undefied bohaviour.
int8_t cudyn_to_int8 | ( | cuex_t | e | ) |
If e was created with cudyn_int8(x)
, for some x, returns x, else undefied bohaviour.
long cudyn_to_long | ( | cuex_t | e | ) |
If e was created with cudyn_long(x)
, for some x, returns x, else undefied bohaviour.
short cudyn_to_short | ( | cuex_t | e | ) |
If e was created with cudyn_short(x)
, for some x, returns x, else undefied bohaviour.
unsigned char cudyn_to_uchar | ( | cuex_t | e | ) |
If e was created with cudyn_uchar(x)
, for some x, returns x, else undefied bohaviour.
unsigned int cudyn_to_uint | ( | cuex_t | e | ) |
If e was created with cudyn_uint(x)
, for some x, returns x, else undefied bohaviour.
uint16_t cudyn_to_uint16 | ( | cuex_t | e | ) |
If e was created with cudyn_uint16(x)
, for some x, returns x, else undefied bohaviour.
uint32_t cudyn_to_uint32 | ( | cuex_t | e | ) |
If e was created with cudyn_uint32(x)
, for some x, returns x, else undefied bohaviour.
uint64_t cudyn_to_uint64 | ( | cuex_t | e | ) |
If e was created with cudyn_uint64(x)
, for some x, returns x, else undefied bohaviour.
uint8_t cudyn_to_uint8 | ( | cuex_t | e | ) |
If e was created with cudyn_uint8(x)
, for some x, returns x, else undefied bohaviour.
unsigned long cudyn_to_ulong | ( | cuex_t | e | ) |
If e was created with cudyn_ulong(x)
, for some x, returns x, else undefied bohaviour.
unsigned short cudyn_to_ushort | ( | cuex_t | e | ) |
If e was created with cudyn_ushort(x)
, for some x, returns x, else undefied bohaviour.
cuex_t cudyn_uchar | ( | unsigned char | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_uchar_type | ( | void | ) |
The type descriptor for dynamically typed unsigned
char objects.
cuex_t cudyn_uchararr | ( | size_t | cnt, | |
unsigned char * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
unsigned char* cudyn_uchararr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed unsigned
char[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
unsigned char* cudyn_uchararr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed unsigned
char[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_uchararr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed unsigned
char[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_uchararr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_uchararr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed unsigned
char[cnt] arrays.
cuex_t cudyn_uint | ( | unsigned int | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cuex_t cudyn_uint16 | ( | uint16_t | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_uint16_type | ( | void | ) |
The type descriptor for dynamically typed uint16_t
objects.
cuex_t cudyn_uint16arr | ( | size_t | cnt, | |
uint16_t * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
uint16_t* cudyn_uint16arr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed uint16_t
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
uint16_t* cudyn_uint16arr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed uint16_t
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_uint16arr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed uint16_t
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_uint16arr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_uint16arr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed uint16_t
[cnt] arrays.
cuex_t cudyn_uint32 | ( | uint32_t | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_uint32_type | ( | void | ) |
The type descriptor for dynamically typed uint32_t
objects.
cuex_t cudyn_uint32arr | ( | size_t | cnt, | |
uint32_t * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
uint32_t* cudyn_uint32arr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed uint32_t
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
uint32_t* cudyn_uint32arr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed uint32_t
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_uint32arr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed uint32_t
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_uint32arr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_uint32arr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed uint32_t
[cnt] arrays.
cuex_t cudyn_uint64 | ( | uint64_t | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_uint64_type | ( | void | ) |
The type descriptor for dynamically typed uint64_t
objects.
cuex_t cudyn_uint64arr | ( | size_t | cnt, | |
uint64_t * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
uint64_t* cudyn_uint64arr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed uint64_t
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
uint64_t* cudyn_uint64arr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed uint64_t
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_uint64arr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed uint64_t
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_uint64arr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_uint64arr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed uint64_t
[cnt] arrays.
cuex_t cudyn_uint8 | ( | uint8_t | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_uint8_type | ( | void | ) |
The type descriptor for dynamically typed uint8_t
objects.
cuex_t cudyn_uint8arr | ( | size_t | cnt, | |
uint8_t * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
uint8_t* cudyn_uint8arr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed uint8_t
[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
uint8_t* cudyn_uint8arr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed uint8_t
[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_uint8arr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed uint8_t
[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_uint8arr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_uint8arr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed uint8_t
[cnt] arrays.
cudyn_type_t cudyn_uint_type | ( | void | ) |
The type descriptor for dynamically typed unsigned
int objects.
cuex_t cudyn_uintarr | ( | size_t | cnt, | |
unsigned int * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
unsigned int* cudyn_uintarr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed unsigned
int[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
unsigned int* cudyn_uintarr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed unsigned
int[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_uintarr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed unsigned
int[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_uintarr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_uintarr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed unsigned
int[cnt] arrays.
cuex_t cudyn_ulong | ( | unsigned long | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_ulong_type | ( | void | ) |
The type descriptor for dynamically typed unsigned
long objects.
cuex_t cudyn_ulongarr | ( | size_t | cnt, | |
unsigned long * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
unsigned long* cudyn_ulongarr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed unsigned
long[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
unsigned long* cudyn_ulongarr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed unsigned
long[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_ulongarr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed unsigned
long[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_ulongarr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_ulongarr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed unsigned
long[cnt] arrays.
cuex_t cudyn_ushort | ( | unsigned short | x | ) |
Returns a hashconsed dynamically typed representation of x
.
cudyn_type_t cudyn_ushort_type | ( | void | ) |
The type descriptor for dynamically typed unsigned
short objects.
cuex_t cudyn_ushortarr | ( | size_t | cnt, | |
unsigned short * | arr | |||
) |
Returns a hashconsed dynamically typed array of cnt
elements initialised from arr
.
unsigned short* cudyn_ushortarr_arr | ( | cuex_t | e | ) |
If e is a dynamically typed unsigned
short[cnt
] array for some cnt
, return a pointer to the elements, else undefined behaviour.
unsigned short* cudyn_ushortarr_at | ( | cuex_t | e, | |
size_t | i | |||
) |
Assuming e is a dynamically typed unsigned
short[cnt
] array for some cnt
> i, return a pointer to element i.
size_t cudyn_ushortarr_condsize | ( | cuex_t | e | ) |
If e is a dynamically typed unsigned
short[cnt
] array for some cnt
, return cnt
, else return cudyn_condsize_none
.
size_t cudyn_ushortarr_size | ( | cuex_t | e | ) |
Return the array size of e without checking type.
cudyn_type_t cudyn_ushortarr_type | ( | size_t | cnt | ) |
Type type descriptor for dynamically typed unsigned
short[cnt] arrays.