예제 #1
0
int main(int argc, const char *argv[])
{
    KonohaContext* konoha = CreateContext();
    int i;
    for (i = 0; i < 100; ++i) {
        test_Kwb(konoha);
    }
    DeleteContext(konoha);
    return 0;
}
예제 #2
0
int main(int argc, const char *argv[])
{
    static kplatform_t plat = {
    	"test", 4096,
    };
    konoha_t konoha = konoha_open((const kplatform_t*)&plat);
    int i;
    for (i = 0; i < 100; ++i) {
        test_Kwb(konoha);
    }
    konoha_close(konoha);
    MODGC_check_malloced_size();
    return 0;
}