wrc: Convert resource output to the standard output buffer functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
952d849e48
commit
7f0943dde6
1273
tools/wrc/genres.c
1273
tools/wrc/genres.c
File diff suppressed because it is too large
Load Diff
|
@ -78,16 +78,6 @@ typedef struct
|
||||||
int col;
|
int col;
|
||||||
} location_t;
|
} location_t;
|
||||||
|
|
||||||
/* Binary resource structure */
|
|
||||||
#define RES_BLOCKSIZE 512
|
|
||||||
|
|
||||||
typedef struct res {
|
|
||||||
unsigned int allocsize; /* Allocated datablock size */
|
|
||||||
unsigned int size; /* Actual size of data */
|
|
||||||
unsigned int dataidx; /* Tag behind the resource-header */
|
|
||||||
unsigned char *data;
|
|
||||||
} res_t;
|
|
||||||
|
|
||||||
/* Resource strings are slightly more complex because they include '\0' */
|
/* Resource strings are slightly more complex because they include '\0' */
|
||||||
enum str_e {str_char, str_unicode};
|
enum str_e {str_char, str_unicode};
|
||||||
|
|
||||||
|
@ -588,7 +578,6 @@ typedef struct resource {
|
||||||
versioninfo_t *ver;
|
versioninfo_t *ver;
|
||||||
void *overlay; /* To catch all types at once... */
|
void *overlay; /* To catch all types at once... */
|
||||||
} res;
|
} res;
|
||||||
res_t *binres; /* To binary converted resource */
|
|
||||||
DWORD memopt;
|
DWORD memopt;
|
||||||
} resource_t;
|
} resource_t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue