void mt_output(MtQueue* sections) { // Initialize the output MTO.current_line = NULL; MTO.line_buffer = mt_queue_new(); // Iterate through every section mt_queue_dequeue_each_val(sections, { mt_output_section(val); });
static void mt_output_init() { MTO.current_line = NULL; MTO.line_buffer = mt_queue_new(); }