DeviceAtlas Enterprise C API  2.0
Welcome DeviceAtlas Enterprise C API
da_status_t da_atlas_compile ( void *  ctx,
da_read_fn  readfn,
da_setpos_fn  setposfn,
void **  ptr,
size_t *  len 
)

readfn should present JSON content from ctx.

atlasp points to an uninitialized da_atlas structure. Result is a compiled atlas at atlasp. Result is allocated via normal memory-allocation methods, malloc/calloc/realloc, so should be Free'd with free() XXX TODO: Change this to take a da_allocator

Parameters
ctxpointer given to read the json file
readfnfunction pointer, set accordingly to the attended given pointer
setposfnfunction pointer
ptrPointer dynamically allocated if the json parsing happened normally
lensize of the atlas image
Returns
status of atlas compilation