Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
9dba6509
Commit
9dba6509
authored
Jan 12, 2010
by
Christian Costa
Committed by
Alexandre Julliard
Jan 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Simplify declaration of VTable members.
parent
3ad04c18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
d3dxof.c
dlls/d3dxof/d3dxof.c
+6
-6
d3dxof_private.h
dlls/d3dxof/d3dxof_private.h
+7
-7
No files found.
dlls/d3dxof/d3dxof.c
View file @
9dba6509
...
...
@@ -71,7 +71,7 @@ HRESULT IDirectXFileImpl_Create(IUnknown* pUnkOuter, LPVOID* ppObj)
return
DXFILEERR_BADALLOC
;
}
object
->
lpVtbl
.
lpVtbl
=
&
IDirectXFile_Vtbl
;
object
->
lpVtbl
=
&
IDirectXFile_Vtbl
;
object
->
ref
=
1
;
*
ppObj
=
object
;
...
...
@@ -451,7 +451,7 @@ static HRESULT IDirectXFileBinaryImpl_Create(IDirectXFileBinaryImpl** ppObj)
return
DXFILEERR_BADALLOC
;
}
object
->
lpVtbl
.
lpVtbl
=
&
IDirectXFileBinary_Vtbl
;
object
->
lpVtbl
=
&
IDirectXFileBinary_Vtbl
;
object
->
ref
=
1
;
*
ppObj
=
object
;
...
...
@@ -579,7 +579,7 @@ static HRESULT IDirectXFileDataImpl_Create(IDirectXFileDataImpl** ppObj)
return
DXFILEERR_BADALLOC
;
}
object
->
lpVtbl
.
lpVtbl
=
&
IDirectXFileData_Vtbl
;
object
->
lpVtbl
=
&
IDirectXFileData_Vtbl
;
object
->
ref
=
1
;
*
ppObj
=
object
;
...
...
@@ -822,7 +822,7 @@ static HRESULT IDirectXFileDataReferenceImpl_Create(IDirectXFileDataReferenceImp
return
DXFILEERR_BADALLOC
;
}
object
->
lpVtbl
.
lpVtbl
=
&
IDirectXFileDataReference_Vtbl
;
object
->
lpVtbl
=
&
IDirectXFileDataReference_Vtbl
;
object
->
ref
=
1
;
*
ppObj
=
object
;
...
...
@@ -955,7 +955,7 @@ static HRESULT IDirectXFileEnumObjectImpl_Create(IDirectXFileEnumObjectImpl** pp
return
DXFILEERR_BADALLOC
;
}
object
->
lpVtbl
.
lpVtbl
=
&
IDirectXFileEnumObject_Vtbl
;
object
->
lpVtbl
=
&
IDirectXFileEnumObject_Vtbl
;
object
->
ref
=
1
;
*
ppObj
=
object
;
...
...
@@ -1148,7 +1148,7 @@ static HRESULT IDirectXFileSaveObjectImpl_Create(IDirectXFileSaveObjectImpl** pp
return
DXFILEERR_BADALLOC
;
}
object
->
lpVtbl
.
lpVtbl
=
&
IDirectXFileSaveObject_Vtbl
;
object
->
lpVtbl
=
&
IDirectXFileSaveObject_Vtbl
;
object
->
ref
=
1
;
*
ppObj
=
object
;
...
...
dlls/d3dxof/d3dxof_private.h
View file @
9dba6509
...
...
@@ -88,19 +88,19 @@ struct _xobject {
typedef
struct
_xobject
xobject
;
typedef
struct
{
IDirectXFile
lpVtbl
;
const
IDirectXFileVtbl
*
lpVtbl
;
LONG
ref
;
ULONG
nb_xtemplates
;
xtemplate
xtemplates
[
MAX_TEMPLATES
];
}
IDirectXFileImpl
;
typedef
struct
{
IDirectXFileBinary
lpVtbl
;
const
IDirectXFileBinaryVtbl
*
lpVtbl
;
LONG
ref
;
}
IDirectXFileBinaryImpl
;
typedef
struct
{
IDirectXFileData
lpVtbl
;
const
IDirectXFileDataVtbl
*
lpVtbl
;
LONG
ref
;
xobject
*
pobj
;
int
cur_enum_object
;
...
...
@@ -110,13 +110,13 @@ typedef struct {
}
IDirectXFileDataImpl
;
typedef
struct
{
IDirectXFileDataReference
lpVtbl
;
const
IDirectXFileDataReferenceVtbl
*
lpVtbl
;
LONG
ref
;
xobject
*
ptarget
;
}
IDirectXFileDataReferenceImpl
;
typedef
struct
{
IDirectXFileObject
lpVtbl
;
const
IDirectXFileObjectVtbl
*
lpVtbl
;
LONG
ref
;
}
IDirectXFileObjectImpl
;
...
...
@@ -144,7 +144,7 @@ typedef struct {
}
parse_buffer
;
typedef
struct
{
IDirectXFileEnumObject
lpVtbl
;
const
IDirectXFileEnumObjectVtbl
*
lpVtbl
;
LONG
ref
;
DXFILELOADOPTIONS
source
;
HANDLE
hFile
;
...
...
@@ -159,7 +159,7 @@ typedef struct {
}
IDirectXFileEnumObjectImpl
;
typedef
struct
{
IDirectXFileSaveObject
lpVtbl
;
const
IDirectXFileSaveObjectVtbl
*
lpVtbl
;
LONG
ref
;
}
IDirectXFileSaveObjectImpl
;
...
...
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