ui/common/context.c

changeset 3
c1a75454b444
parent 2
eeb50c534497
child 18
06be29a56f8b
equal deleted inserted replaced
2:eeb50c534497 3:c1a75454b444
71 fprintf(stderr, "UI Error: var %s has incompatible type.\n", name); 71 fprintf(stderr, "UI Error: var %s has incompatible type.\n", name);
72 return NULL; 72 return NULL;
73 } else { 73 } else {
74 // register the current document/wdata map 74 // register the current document/wdata map
75 // if the document is closed, the var will be moved to this map 75 // if the document is closed, the var will be moved to this map
76
77 // TODO: get current map
78 var->from = from; 76 var->from = from;
79 77
80 return var; 78 return var;
81 } 79 }
82 } else { 80 } else {

mercurial