diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2008-12-29 12:36:50 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2008-12-29 12:36:50 -0300 |
commit | 518b3517461eb9b298b515cc505b96c09cdd4b4a (patch) | |
tree | 0f6afc7630c9cfa7f893d3c20b78ed7aac261085 /src/imgbuf.hh | |
parent | bb07f7936f79c438681821419fb32e6167b476b9 (diff) |
imported patch dicache-cleanup2
Diffstat (limited to 'src/imgbuf.hh')
-rw-r--r-- | src/imgbuf.hh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/imgbuf.hh b/src/imgbuf.hh new file mode 100644 index 00000000..3cab68a0 --- /dev/null +++ b/src/imgbuf.hh @@ -0,0 +1,30 @@ +#ifndef __IMGBUF_HH__ +#define __IMGBUF_HH__ + +// Imgbuf wrappers + + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + + +#include "image.hh" + +/* + * Function prototypes + */ +void a_Imgbuf_ref(void *v_imgbuf); +void a_Imgbuf_unref(void *v_imgbuf); +void *a_Imgbuf_new(void *v_dw, int img_type, uint_t width, uint_t height); +int a_Imgbuf_last_reference(void *v_imgbuf); +void a_Imgbuf_update(void *v_imgbuf, const uchar_t *buf, DilloImgType type, + uchar_t *cmap, uint_t width, uint_t height, uint_t y); + + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __IMGBUF_HH__ */ + |