chickadee » foreign » types » pointer-vector

pointer-vectortype
nonnull-pointer-vectortype

A vector of foreign pointer objects; see Pointer vectors. Permitted only as an argument type, not as return type. This type was introduced in CHICKEN 4.6.3.

A pointer vector contains a C array of void pointers, and the argument is passed as a void ** pointer to these contents. Just as for bytevector types, you must somehow communicate the length of this array to the callee; there is no sentinel node or NULL terminator.

#f is allowed and passed as a NULL pointer. For the nonnull- variant, passing a #f value will raise an exception.