Mercurial > MadButterfly
diff tools/mb_c_source.m4 @ 311:9fa4459c08a9
Mgere the image loader back
author | wycc |
---|---|
date | Sun, 22 Feb 2009 14:20:39 +0800 |
parents | 2e97e8082d83 |
children | bdf36a26e420 |
line wrap: on
line diff
--- a/tools/mb_c_source.m4 Sun Feb 22 14:20:17 2009 +0800 +++ b/tools/mb_c_source.m4 Sun Feb 22 14:20:39 2009 +0800 @@ -495,9 +495,11 @@ $1_t *$1_new(redraw_man_t *rdman, coord_t *parent_coord) { $1_t *obj; + mb_img_ldr_t *img_ldr = NULL; grad_stop_t *stops = NULL;]DECLARE_VARS $2[]dnl [ + img_ldr = rdman_img_ldr(rdman); obj = ($1_t *)malloc(sizeof($1_t)); if(obj == NULL) return NULL;