xm_get_memory_needed_for_context

Get the number of bytes needed to store the module data in a dynamically allocated blank context.

Things that are dynamically allocated: - sample data - sample structures in instruments - pattern data - row loop count arrays - pattern structures in module - instrument structures in module - channel contexts - context structure itself

@returns 0 if everything looks OK.

nothrow @nogc
size_t
xm_get_memory_needed_for_context
(
const char* moddata
,)

Meta