ui/common/context.c

branch
newapi
changeset 379
958bae372271
parent 372
4657ec1229f2
equal deleted inserted replaced
378:d41b1ffc5f77 379:958bae372271
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