view src/insert_verification/main.c @ 2:9815b09dc853

Sample which uses llrb library in Gears
author Yasutaka Higa <e115763@ie.u-ryukyu.ac.jp>
date Fri, 11 Mar 2016 19:24:34 +0900
parents a13620720e35
children c80e44ac8f5e
line wrap: on
line source

#include <stdio.h>

struct Context;
struct Tree;
struct Node;
struct Allocate;


/* FIXME: temporal definition for compile */
__code code1() { }
__code code2() { }
__code code3() { }
__code code4() { }
__code code5() { }
__code code6() { }
__code code1_stub() { }
__code code2_stub() { }
__code code3_stub() { }
__code code4_stub() { }
__code find() { }
__code not_find() { }


extern __code put(struct Context*, struct Tree*, struct Node*, struct Allocate*);
__code hello() {
    printf("access to llrb library: %p\n", put);
}

int main(int argc, char const* argv[]) {

    goto hello();
}