exported tcl_hook() at global scope for future enhancements
This commit is contained in:
parent
c7ae5183fe
commit
4682613290
|
|
@ -379,10 +379,12 @@ char *strtoupper(char* s) {
|
||||||
|
|
||||||
void set_inst_prop(int i)
|
void set_inst_prop(int i)
|
||||||
{
|
{
|
||||||
char *ptr;
|
char *ptr = NULL;
|
||||||
char *tmp = NULL;
|
char *tmp = NULL;
|
||||||
|
|
||||||
ptr = (xctx.inst[i].ptr+ xctx.sym)->templ;
|
my_strdup(104, &ptr, (xctx.inst[i].ptr+ xctx.sym)->templ);
|
||||||
|
/* my_strdup(104, &ptr, translate(i, (xctx.inst[i].ptr+ xctx.sym)->templ)); */
|
||||||
|
/* tcl_hook(&ptr); */
|
||||||
dbg(1, "set_inst_prop(): i=%d, name=%s, prop_ptr = %s, template=%s\n",
|
dbg(1, "set_inst_prop(): i=%d, name=%s, prop_ptr = %s, template=%s\n",
|
||||||
i, xctx.inst[i].name, xctx.inst[i].prop_ptr, ptr);
|
i, xctx.inst[i].name, xctx.inst[i].prop_ptr, ptr);
|
||||||
my_strdup(69, &xctx.inst[i].prop_ptr, ptr);
|
my_strdup(69, &xctx.inst[i].prop_ptr, ptr);
|
||||||
|
|
@ -392,6 +394,7 @@ void set_inst_prop(int i)
|
||||||
new_prop_string(i, tmp, 0, dis_uniq_names);
|
new_prop_string(i, tmp, 0, dis_uniq_names);
|
||||||
my_free(724, &tmp);
|
my_free(724, &tmp);
|
||||||
}
|
}
|
||||||
|
my_free(330, &ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void edit_rect_property(void)
|
void edit_rect_property(void)
|
||||||
|
|
|
||||||
|
|
@ -914,6 +914,7 @@ extern const char *tcleval(const char str[]);
|
||||||
extern const char *tclresult(void);
|
extern const char *tclresult(void);
|
||||||
extern const char *tclgetvar(const char *s);
|
extern const char *tclgetvar(const char *s);
|
||||||
extern void tclsetvar(const char *s, const char *value);
|
extern void tclsetvar(const char *s, const char *value);
|
||||||
|
extern void tcl_hook(char **res);
|
||||||
extern void statusmsg(char str[],int n);
|
extern void statusmsg(char str[],int n);
|
||||||
extern void place_text(int draw_text, double mx, double my);
|
extern void place_text(int draw_text, double mx, double my);
|
||||||
extern void init_inst_iterator(double x1, double y1, double x2, double y2);
|
extern void init_inst_iterator(double x1, double y1, double x2, double y2);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue