Initialization and FinalizationΒΆ

Internal memories and structures must be initialized before all function calls of iZ-C. And memories should be freed at end of program.

These processes will be done by cs_init() and cs_end() called like following:

#include <stdio.h>
#include "iz.h"

int main(void)
{
    cs_init();

    // iZ-C functions should be here.

    cs_end();

    return 0;
}