diff include/mb_img_ldr.h @ 260:29acbd8a0dd0

Integrate sh_image with svg2code.py. diff -r e8a784a306d0 examples/svg2code_ex/dsc_3241.png Binary file examples/svg2code_ex/dsc_3241.png has changed diff -r e8a784a306d0 examples/svg2code_ex/dsc_3241.png Binary file examples/svg2code_ex/dsc_3241.png has changed
author Thinker K.F. Li <thinker@branda.to>
date Fri, 23 Jan 2009 23:00:23 +0800
parents 50d253d0fcba
children 43900cae1d49
line wrap: on
line diff
--- a/include/mb_img_ldr.h	Thu Jan 22 18:10:47 2009 +0800
+++ b/include/mb_img_ldr.h	Fri Jan 23 23:00:23 2009 +0800
@@ -46,6 +46,7 @@
     void (*free)(mb_img_ldr_t *ldr);
 };
 #define MB_IMG_LDR_FREE(ldr) (ldr)->free(ldr)
+#define MB_IMG_LDR_LOAD(ldr, img_id) (ldr)->load(ldr, img_id)
 
 /*! \brief Create a simple image loader.
  *