ui/common/context.c

changeset 77
5de33c2d94c6
parent 75
73c8a3780c72
equal deleted inserted replaced
76:641dcc79e0ef 77:5de33c2d94c6
39 #include "context.h" 39 #include "context.h"
40 #include "../ui/window.h" 40 #include "../ui/window.h"
41 #include "document.h" 41 #include "document.h"
42 #include "types.h" 42 #include "types.h"
43 43
44
44 static UiContext* global_context; 45 static UiContext* global_context;
45 46
46 void uic_init_global_context(void) { 47 void uic_init_global_context(void) {
47 CxMempool *mp = cxBasicMempoolCreate(32); 48 CxMempool *mp = cxBasicMempoolCreate(32);
48 global_context = uic_context(NULL, mp); 49 global_context = uic_context(NULL, mp);

mercurial