/* Generated by Nimrod Compiler v0.9.2 */
/* (c) 2012 Andreas Rumpf */
/* The generated code is subject to the original license. */
/* Compiled for: Linux, i386, gcc */
/* Command for C compiler:
gcc -c -w -O3 -fno-strict-aliasing -I/home/k9/lib -o bin/nimrods/examples/nimcache/john.o bin/nimrods/examples/nimcache/john.c */
#define NIM_INTBITS 32
#include "nimbase.h"
typedef struct ihandle67212 ihandle67212;
typedef N_CDECL_PTR(int, TY67311) (int* argc, NCSTRING** argv);
typedef N_CDECL_PTR(ihandle67212*, TY67680) (ihandle67212* child, ...);
typedef N_CDECL_PTR(ihandle67212*, TY67789) (NCSTRING title);
typedef N_CDECL_PTR(ihandle67212*, TY67773) (NCSTRING title, NCSTRING action);
typedef N_CDECL_PTR(void, TY67476) (ihandle67212* ih, NCSTRING name, NCSTRING value);
typedef N_CDECL_PTR(ihandle67212*, TY67820) (ihandle67212* child, ...);
typedef N_CDECL_PTR(ihandle67212*, TY67698) (ihandle67212* child, ...);
typedef N_CDECL_PTR(ihandle67212*, TY67782) (ihandle67212* child);
typedef N_CDECL_PTR(int, TY67458) (ihandle67212* ih, int x, int y);
typedef N_CDECL_PTR(int, TY67324) (void);
typedef N_CDECL_PTR(void, TY67318) (void);
struct ihandle67212 {
char dummy;
};
static N_INLINE(void, initStackBottom)(void);
N_NOINLINE(void, setStackBottom)(void* thestackbottom);
N_NOINLINE(void, systemInit)(void);
N_NOINLINE(void, systemDatInit)(void);
N_NOINLINE(void, iupInit)(void);
N_NOINLINE(void, iupDatInit)(void);
N_NOINLINE(void, johnInit)(void);
N_NOINLINE(void, johnDatInit)(void);
extern TY67311 Dl_67310;
ihandle67212* vbox1_70003;
extern TY67680 Dl_67679;
extern TY67789 Dl_67788;
extern TY67773 Dl_67772;
ihandle67212* vbox2_70005;
extern TY67476 Dl_67475;
ihandle67212* tabs1_70009;
extern TY67820 Dl_67819;
ihandle67212* tabs2_70015;
ihandle67212* box_70018;
extern TY67698 Dl_67697;
ihandle67212* dlg_70022;
extern TY67782 Dl_67781;
extern TY67458 Dl_67457;
extern TY67324 Dl_67323;
extern TY67318 Dl_67317;
static N_INLINE(void, initStackBottom)(void) {
void* volatile locals;
locals = 0;
locals = ((void*) (&locals));
setStackBottom(locals);
}
int cmdCount;
char** cmdLine;
char** gEnv;
N_CDECL(void, NimMain)(void) {
systemDatInit();
iupDatInit();
johnDatInit();
initStackBottom();
systemInit();
iupInit();
johnInit();
}
int main(int argc, char** args, char** env) {
cmdLine = args;
cmdCount = argc;
gEnv = env;
NimMain();
return nim_program_result;
}
N_NOINLINE(void, johnInit)(void) {
int LOC1;
ihandle67212* LOC2;
ihandle67212* LOC3;
ihandle67212* LOC4;
ihandle67212* LOC5;
ihandle67212* LOC6;
ihandle67212* LOC7;
ihandle67212* LOC8;
ihandle67212* LOC9;
int LOC10;
int LOC11;
LOC1 = Dl_67310(NIM_NIL, NIM_NIL);
LOC2 = Dl_67788("Inside Tab A");
LOC3 = Dl_67772("Button A", "");
vbox1_70003 = Dl_67679(LOC2, LOC3, NIM_NIL);
LOC4 = Dl_67788("Inside Tab B");
LOC5 = Dl_67772("Button B", "");
vbox2_70005 = Dl_67679(LOC4, LOC5, NIM_NIL);
Dl_67475(vbox1_70003, "TABTITLE", "Tab A");
Dl_67475(vbox2_70005, "TABTITLE", "Tab B");
tabs1_70009 = Dl_67819(vbox1_70003, vbox2_70005, NIM_NIL);
LOC6 = Dl_67788("Inside Tab C");
LOC7 = Dl_67772("Button C", "");
vbox1_70003 = Dl_67679(LOC6, LOC7, NIM_NIL);
LOC8 = Dl_67788("Inside Tab D");
LOC9 = Dl_67772("Button D", "");
vbox2_70005 = Dl_67679(LOC8, LOC9, NIM_NIL);
Dl_67475(vbox1_70003, "TABTITLE", "Tab C");
Dl_67475(vbox2_70005, "TABTITLE", "Tab D");
tabs2_70015 = Dl_67819(vbox1_70003, vbox2_70005, NIM_NIL);
Dl_67475(tabs2_70015, "TABTYPE", "LEFT");
box_70018 = Dl_67697(tabs1_70009, tabs2_70015, NIM_NIL);
Dl_67475(box_70018, "MARGIN", "10x10");
Dl_67475(box_70018, "GAP", "10");
dlg_70022 = Dl_67781(box_70018);
Dl_67475(dlg_70022, "TITLE", "IupTabs");
Dl_67475(dlg_70022, "SIZE", "200x100");
LOC10 = Dl_67457(dlg_70022, ((int) 65535), ((int) 65535));
LOC11 = Dl_67323();
Dl_67317();
}
N_NOINLINE(void, johnDatInit)(void) {
}