mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 22:25:08 +00:00
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;
|
||||
} 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' */
|
||||
enum str_e {str_char, str_unicode};
|
||||
|
||||
|
@ -588,7 +578,6 @@ typedef struct resource {
|
|||
versioninfo_t *ver;
|
||||
void *overlay; /* To catch all types at once... */
|
||||
} res;
|
||||
res_t *binres; /* To binary converted resource */
|
||||
DWORD memopt;
|
||||
} resource_t;
|
||||
|
||||
|
|
Loading…
Reference in a new issue