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 _RsvgHandle RsvgHandle;
typedef struct RsvgHandlePrivate RsvgHandlePrivate; typedef struct RsvgHandlePrivate RsvgHandlePrivate;
typedef struct _RsvgHandleClass RsvgHandleClass; typedef struct _RsvgHandleClass RsvgHandleClass;
typedef struct _RsvgDimensionData RsvgDimensionData;
typedef struct _RsvgPositionData RsvgPositionData;
/** /**
* RsvgDimensionData: * RsvgDimensionData:
@ -58,21 +56,21 @@ typedef struct _RsvgPositionData RsvgPositionData;
* @em: em * @em: em
* @ex: ex * @ex: ex
*/ */
struct _RsvgDimensionData { typedef struct _RsvgDimensionData {
int width; int width;
int height; int height;
double em; double em;
double ex; double ex;
}; } RsvgDimensionData;
/** /**
* RsvgPositionData: * RsvgPositionData:
* Position of an SVG fragment. * Position of an SVG fragment.
*/ */
struct _RsvgPositionData { typedef struct _RsvgPositionData {
int x; int x;
int y; int y;
}; } RsvgPositionData;
RsvgHandle *rsvg_handle_new (void); RsvgHandle *rsvg_handle_new (void);
int rsvg_handle_write (RsvgHandle * handle, const unsigned char * buf, int rsvg_handle_write (RsvgHandle * handle, const unsigned char * buf,