#include <funcs.hpp> // For funcs definition #include <area.hpp> // Loop through functions as areas from first to last int i = 0; for (area_t *func = funcs.getn_area(0); i < funcs.get_area_qty(); i++) { msg ("Area start: %a, end: %a\n", func->startEA, func->endEA); int funcNo = funcs.get_next_area(func->startEA); func = funcs.getn_area(funcNo); }