Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
056dfb26
Commit
056dfb26
authored
Apr 20, 2011
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Copy and reorganize printf implementation.
parent
dbc8c07b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
msvcrt.h
dlls/msvcrt/msvcrt.h
+15
-0
printf.h
dlls/msvcrt/printf.h
+0
-0
wcs.c
dlls/msvcrt/wcs.c
+5
-0
No files found.
dlls/msvcrt/msvcrt.h
View file @
056dfb26
...
...
@@ -934,6 +934,21 @@ typedef struct pf_output_t
int
pf_vsnprintf
(
pf_output
*
out
,
const
WCHAR
*
format
,
MSVCRT__locale_t
locale
,
BOOL
valid
,
__ms_va_list
valist
);
typedef
int
(
*
puts_clbk_a
)(
void
*
,
int
,
const
char
*
);
typedef
int
(
*
puts_clbk_w
)(
void
*
,
int
,
const
MSVCRT_wchar_t
*
);
typedef
union
_printf_arg
{
void
*
get_ptr
;
int
get_int
;
LONGLONG
get_longlong
;
double
get_double
;
}
printf_arg
;
typedef
printf_arg
(
*
args_clbk
)(
void
*
,
int
,
size_t
,
__ms_va_list
*
);
int
pf_printf_a
(
puts_clbk_a
,
void
*
,
const
char
*
,
MSVCRT__locale_t
,
BOOL
,
BOOL
,
args_clbk
,
void
*
,
__ms_va_list
);
int
pf_printf_w
(
puts_clbk_w
,
void
*
,
const
MSVCRT_wchar_t
*
,
MSVCRT__locale_t
,
BOOL
,
BOOL
,
args_clbk
,
void
*
,
__ms_va_list
);
#define MSVCRT__OVERFLOW 3
#define MSVCRT__UNDERFLOW 4
...
...
dlls/msvcrt/printf.h
0 → 100644
View file @
056dfb26
This diff is collapsed.
Click to expand it.
dlls/msvcrt/wcs.c
View file @
056dfb26
...
...
@@ -27,11 +27,16 @@
#include <assert.h>
#include "msvcrt.h"
#include "winnls.h"
#include "wtypes.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
msvcrt
);
#include "printf.h"
#define PRINTF_WIDE
#include "printf.h"
#undef PRINTF_WIDE
/*********************************************************************
* _wcsdup (MSVCRT.@)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment