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
d46cc43f
Commit
d46cc43f
authored
May 07, 2001
by
Francois Gouget
Committed by
Alexandre Julliard
May 07, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for the DECIMAL type.
Names are no longer suffixed with 32! Removed it.
parent
9a8a106f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
3 deletions
+36
-3
oleauto.h
include/oleauto.h
+0
-0
obj_base.h
include/wine/obj_base.h
+1
-1
obj_oleaut.h
include/wine/obj_oleaut.h
+2
-2
wtypes.h
include/wtypes.h
+33
-0
No files found.
include/oleauto.h
View file @
d46cc43f
This diff is collapsed.
Click to expand it.
include/wine/obj_base.h
View file @
d46cc43f
...
...
@@ -584,7 +584,7 @@ ICOM_DEFINE(IMalloc,IUnknown)
#define IMalloc_QueryInterface(p,a,b) ICOM_CALL2(QueryInterface,p,a,b)
#define IMalloc_AddRef(p) ICOM_CALL (AddRef,p)
#define IMalloc_Release(p) ICOM_CALL (Release,p)
/*** IMalloc
32
methods ***/
/*** IMalloc methods ***/
#define IMalloc_Alloc(p,a) ICOM_CALL1(Alloc,p,a)
#define IMalloc_Realloc(p,a,b) ICOM_CALL2(Realloc,p,a,b)
#define IMalloc_Free(p,a) ICOM_CALL1(Free,p,a)
...
...
include/wine/obj_oleaut.h
View file @
d46cc43f
...
...
@@ -141,7 +141,7 @@ struct tagVARIANT {
DATE
date
;
BSTR
bstrVal
;
CY
cyVal
;
/* DECIMAL decVal; */
DECIMAL
decVal
;
IUnknown
*
punkVal
;
IDispatch
*
pdispVal
;
SAFEARRAY
*
parray
;
...
...
@@ -164,7 +164,7 @@ struct tagVARIANT {
VARIANT
*
pvarVal
;
PVOID
byref
;
CY
*
pcyVal
;
/* DECIMAL* pdecVal; */
DECIMAL
*
pdecVal
;
IUnknown
**
ppunkVal
;
IDispatch
**
ppdispVal
;
SAFEARRAY
**
pparray
;
...
...
include/wtypes.h
View file @
d46cc43f
...
...
@@ -163,6 +163,39 @@ typedef union tagCY {
#endif
/* _tagCY_DEFINED */
typedef
struct
tagDEC
{
USHORT
wReserved
;
union
{
struct
{
BYTE
scale
;
BYTE
sign
;
}
DUMMYSTRUCTNAME1
;
USHORT
signscale
;
}
DUMMYUNIONNAME1
;
ULONG
Hi32
;
union
{
struct
{
#ifdef BIG_ENDIAN
ULONG
Mid32
;
ULONG
Lo32
;
#else
/* defined(BIG_ENDIAN) */
ULONG
Lo32
;
ULONG
Mid32
;
#endif
/* defined(BIG_ENDIAN) */
}
DUMMYSTRUCTNAME2
;
ULONGLONG
Lo64
;
}
DUMMYUNIONNAME2
;
}
DECIMAL
;
#define DECIMAL_NEG ((BYTE)0x80)
#ifndef NONAMELESSUNION
#define DECIMAL_SETZERO(d) \
do {(d).Lo64 = 0; (d).Hi32 = 0; (d).signscale = 0;} while (0)
#else
#define DECIMAL_SETZERO(d) \
do {(d).u2.Lo64 = 0; (d).Hi32 = 0; (d).u1.signscale = 0;} while (0)
#endif
/*
* 0 == FALSE and -1 == TRUE
*/
...
...
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