Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
ef94d132
Commit
ef94d132
authored
19 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Make autotype a more logical 0.
parent
4a52031a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/xpdev/xpprintf.h
+14
-14
14 additions, 14 deletions
src/xpdev/xpprintf.h
with
14 additions
and
14 deletions
src/xpdev/xpprintf.h
+
14
−
14
View file @
ef94d132
...
...
@@ -2,26 +2,26 @@
#define _XPPRINTF_H_
/* Supported printf argument types */
#define XP_PRINTF_TYPE_INT 0
#define XP_PRINTF_TYPE_UINT 1
#define XP_PRINTF_TYPE_AUTO 0
#define XP_PRINTF_TYPE_INT 1
#define XP_PRINTF_TYPE_UINT 2
#define XP_PRINTF_TYPE_CHAR XP_PRINTF_TYPE_INT
/* Assumes a signed char */
#define XP_PRINTF_TYPE_SCHAR XP_PRINTF_TYPE_INT
#define XP_PRINTF_TYPE_UCHAR XP_PRINTF_TYPE_UINT
#define XP_PRINTF_TYPE_SHORT XP_PRINTF_TYPE_INT
#define XP_PRINTF_TYPE_USHORT XP_PRINTF_TYPE_UINT
#define XP_PRINTF_TYPE_LONG
2
#define XP_PRINTF_TYPE_ULONG
3
#define XP_PRINTF_TYPE_LONGLONG
4
#define XP_PRINTF_TYPE_ULONGLONG
5
#define XP_PRINTF_TYPE_CHARP
6
#define XP_PRINTF_TYPE_DOUBLE
7
#define XP_PRINTF_TYPE_LONG
3
#define XP_PRINTF_TYPE_ULONG
4
#define XP_PRINTF_TYPE_LONGLONG
5
#define XP_PRINTF_TYPE_ULONGLONG
6
#define XP_PRINTF_TYPE_CHARP
7
#define XP_PRINTF_TYPE_DOUBLE
8
#define XP_PRINTF_TYPE_FLOAT XP_PRINTF_TYPE_DOUBLE
/* Floats are promoted to doubles */
#define XP_PRINTF_TYPE_LONGDOUBLE 8
#define XP_PRINTF_TYPE_VOIDP 9
#define XP_PRINTF_TYPE_INTMAX 10
/* Not currently implemented */
#define XP_PRINTF_TYPE_PTRDIFF 11
/* Not currently implemented */
#define XP_PRINTF_TYPE_SIZET 12
#define XP_PRINTF_TYPE_AUTO 13
#define XP_PRINTF_TYPE_LONGDOUBLE 9
#define XP_PRINTF_TYPE_VOIDP 10
#define XP_PRINTF_TYPE_INTMAX 11
/* Not currently implemented */
#define XP_PRINTF_TYPE_PTRDIFF 12
/* Not currently implemented */
#define XP_PRINTF_TYPE_SIZET 13
#if defined(__cplusplus)
extern
"C"
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment