Generate C functions.

This commit is contained in:
Nigel Tao committed 2017-05-27 11:51:13 +10:00
1 parent 0890d210c2
commit c97511f24e
3 files changed
+90

No files matched your search

+13
View File
@@ -60,6 +60,10 @@ void puffs_gif_lzw_decoder_constructor(puffs_gif_lzw_decoder* self,
void puffs_gif_lzw_decoder_destructor(puffs_gif_lzw_decoder* self);
// ---------------- Public Function Prototypes
puffs_gif_status puffs_gif_lzw_decoder_decode(puffs_gif_lzw_decoder* self);
#ifdef __cplusplus
} // extern "C"
#endif
@@ -68,6 +72,8 @@ void puffs_gif_lzw_decoder_destructor(puffs_gif_lzw_decoder* self);
// ---------------- Private Constructor and Destructor Prototypes
// ---------------- Private Function Prototypes
// ---------------- Constructor and Destructor Implementations
// PUFFS_MAGIC is a magic number to check that constructors are called. It's
@@ -88,3 +94,10 @@ void puffs_gif_lzw_decoder_constructor(puffs_gif_lzw_decoder* self,
}
void puffs_gif_lzw_decoder_destructor(puffs_gif_lzw_decoder* self) {}
// ---------------- Function Implementations
puffs_gif_status puffs_gif_lzw_decoder_decode(puffs_gif_lzw_decoder* self) {
puffs_gif_status ret = puffs_gif_status_ok;
return ret;
}
+4
View File
@@ -60,6 +60,10 @@ void puffs_gif_lzw_decoder_constructor(puffs_gif_lzw_decoder* self,
void puffs_gif_lzw_decoder_destructor(puffs_gif_lzw_decoder* self);
// ---------------- Public Function Prototypes
puffs_gif_status puffs_gif_lzw_decoder_decode(puffs_gif_lzw_decoder* self);
#ifdef __cplusplus
} // extern "C"
#endif