10 #ifndef __SOLAR_CAPTURE_OBJECT_H__
11 #define __SOLAR_CAPTURE_OBJECT_H__
sc_object_type
The type of data the sc_object contains.
Definition: object.h:16
void * sc_opaque_get_ptr(const struct sc_object *obj)
Get the opaque pointer stored in an sc_object.
An opaque object. Use this to pass all types of data that are not ints, doubles or char arrays (see S...
void sc_opaque_free(struct sc_object *obj)
Free an sc_object previously allocated using sc_opaque_alloc. Only use this to free an opaque sc_obje...
int sc_opaque_alloc(struct sc_object **obj_out, void *opaque)
Allocate memory for an opaque sc_object.
void sc_opaque_set_ptr(struct sc_object *obj, void *opaque)
Set the opaque pointer in an sc_object.