C++ implicit typedef.
Before I C++ify image, I'll C++ify bitvec. It isn't even built in C++ yet.
This commit is contained in:
@ -17,6 +17,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
* The DilloImage data-structure and methods */
|
* The DilloImage data-structure and methods */
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -37,8 +38,6 @@ extern "C" {
|
|||||||
* Types
|
* Types
|
||||||
*/
|
*/
|
||||||
|
|
||||||
typedef struct _DilloImage DilloImage;
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
DILLO_IMG_TYPE_INDEXED,
|
DILLO_IMG_TYPE_INDEXED,
|
||||||
DILLO_IMG_TYPE_RGB,
|
DILLO_IMG_TYPE_RGB,
|
||||||
@ -57,7 +56,7 @@ typedef enum {
|
|||||||
IMG_Abort /**< Image transfer aborted */
|
IMG_Abort /**< Image transfer aborted */
|
||||||
} ImageState;
|
} ImageState;
|
||||||
|
|
||||||
struct _DilloImage {
|
struct DilloImage {
|
||||||
void *layout, *img_rndr;
|
void *layout, *img_rndr;
|
||||||
|
|
||||||
/* Parameters as told by image data */
|
/* Parameters as told by image data */
|
||||||
|
|||||||
Reference in New Issue
Block a user