1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-20 03:51:18 +00:00

Inline typedefs

This commit is contained in:
Jochen Keil 2013-05-22 21:18:35 +02:00
parent 4920cb71be
commit 118332aa00

View File

@ -48,8 +48,6 @@ $#include <librsvg/rsvg.h>
typedef struct _RsvgHandle RsvgHandle;
typedef struct RsvgHandlePrivate RsvgHandlePrivate;
typedef struct _RsvgHandleClass RsvgHandleClass;
typedef struct _RsvgDimensionData RsvgDimensionData;
typedef struct _RsvgPositionData RsvgPositionData;
/**
* RsvgDimensionData:
@ -58,21 +56,21 @@ typedef struct _RsvgPositionData RsvgPositionData;
* @em: em
* @ex: ex
*/
struct _RsvgDimensionData {
typedef struct _RsvgDimensionData {
int width;
int height;
double em;
double ex;
};
} RsvgDimensionData;
/**
* RsvgPositionData:
* Position of an SVG fragment.
*/
struct _RsvgPositionData {
typedef struct _RsvgPositionData {
int x;
int y;
};
} RsvgPositionData;
RsvgHandle *rsvg_handle_new (void);
int rsvg_handle_write (RsvgHandle * handle, const unsigned char * buf,