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
c360ca84
Commit
c360ca84
authored
Dec 04, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Make some functions static.
parent
2822e966
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
55 deletions
+5
-55
d3dxof.c
dlls/d3dxof/d3dxof.c
+5
-51
d3dxof_private.h
dlls/d3dxof/d3dxof_private.h
+0
-4
No files found.
dlls/d3dxof/d3dxof.c
View file @
c360ca84
...
...
@@ -96,6 +96,8 @@ static BOOL parse_object(parse_buffer * buf);
static
const
char
*
get_primitive_string
(
WORD
token
);
static
WORD
check_TOKEN
(
parse_buffer
*
buf
);
static
BOOL
parse_template
(
parse_buffer
*
buf
);
static
HRESULT
IDirectXFileDataReferenceImpl_Create
(
IDirectXFileDataReferenceImpl
**
ppObj
);
static
HRESULT
IDirectXFileEnumObjectImpl_Create
(
IDirectXFileEnumObjectImpl
**
ppObj
);
static
void
dump_template
(
xtemplate
*
templates_array
,
xtemplate
*
ptemplate
)
{
...
...
@@ -1336,22 +1338,6 @@ static const IDirectXFileVtbl IDirectXFile_Vtbl =
IDirectXFileImpl_RegisterTemplates
};
HRESULT
IDirectXFileBinaryImpl_Create
(
IDirectXFileBinaryImpl
**
ppObj
)
{
IDirectXFileBinaryImpl
*
object
;
TRACE
(
"(%p)
\n
"
,
ppObj
);
object
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectXFileBinaryImpl
));
object
->
lpVtbl
.
lpVtbl
=
&
IDirectXFileBinary_Vtbl
;
object
->
ref
=
1
;
*
ppObj
=
object
;
return
DXFILE_OK
;
}
/*** IUnknown methods ***/
static
HRESULT
WINAPI
IDirectXFileBinaryImpl_QueryInterface
(
IDirectXFileBinary
*
iface
,
REFIID
riid
,
void
**
ppvObject
)
{
...
...
@@ -1459,7 +1445,7 @@ static const IDirectXFileBinaryVtbl IDirectXFileBinary_Vtbl =
IDirectXFileBinaryImpl_Read
};
HRESULT
IDirectXFileDataImpl_Create
(
IDirectXFileDataImpl
**
ppObj
)
static
HRESULT
IDirectXFileDataImpl_Create
(
IDirectXFileDataImpl
**
ppObj
)
{
IDirectXFileDataImpl
*
object
;
...
...
@@ -1679,7 +1665,7 @@ static const IDirectXFileDataVtbl IDirectXFileData_Vtbl =
IDirectXFileDataImpl_AddBinaryObject
};
HRESULT
IDirectXFileDataReferenceImpl_Create
(
IDirectXFileDataReferenceImpl
**
ppObj
)
static
HRESULT
IDirectXFileDataReferenceImpl_Create
(
IDirectXFileDataReferenceImpl
**
ppObj
)
{
IDirectXFileDataReferenceImpl
*
object
;
...
...
@@ -1807,7 +1793,7 @@ static const IDirectXFileDataReferenceVtbl IDirectXFileDataReference_Vtbl =
IDirectXFileDataReferenceImpl_Resolve
};
HRESULT
IDirectXFileEnumObjectImpl_Create
(
IDirectXFileEnumObjectImpl
**
ppObj
)
static
HRESULT
IDirectXFileEnumObjectImpl_Create
(
IDirectXFileEnumObjectImpl
**
ppObj
)
{
IDirectXFileEnumObjectImpl
*
object
;
...
...
@@ -2276,22 +2262,6 @@ static const IDirectXFileEnumObjectVtbl IDirectXFileEnumObject_Vtbl =
IDirectXFileEnumObjectImpl_GetDataObjectByName
};
HRESULT
IDirectXFileObjectImpl_Create
(
IDirectXFileObjectImpl
**
ppObj
)
{
IDirectXFileObjectImpl
*
object
;
TRACE
(
"(%p)
\n
"
,
ppObj
);
object
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectXFileObjectImpl
));
object
->
lpVtbl
.
lpVtbl
=
&
IDirectXFileObject_Vtbl
;
object
->
ref
=
1
;
*
ppObj
=
object
;
return
S_OK
;
}
/*** IUnknown methods ***/
static
HRESULT
WINAPI
IDirectXFileObjectImpl_QueryInterface
(
IDirectXFileObject
*
iface
,
REFIID
riid
,
void
**
ppvObject
)
{
...
...
@@ -2362,22 +2332,6 @@ static const IDirectXFileObjectVtbl IDirectXFileObject_Vtbl =
IDirectXFileObjectImpl_GetId
};
HRESULT
IDirectXFileSaveObjectImpl_Create
(
IDirectXFileSaveObjectImpl
**
ppObj
)
{
IDirectXFileSaveObjectImpl
*
object
;
TRACE
(
"(%p)
\n
"
,
ppObj
);
object
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectXFileSaveObjectImpl
));
object
->
lpVtbl
.
lpVtbl
=
&
IDirectXFileSaveObject_Vtbl
;
object
->
ref
=
1
;
*
ppObj
=
object
;
return
S_OK
;
}
/*** IUnknown methods ***/
static
HRESULT
WINAPI
IDirectXFileSaveObjectImpl_QueryInterface
(
IDirectXFileSaveObject
*
iface
,
REFIID
riid
,
void
**
ppvObject
)
{
...
...
dlls/d3dxof/d3dxof_private.h
View file @
c360ca84
...
...
@@ -156,10 +156,6 @@ typedef struct {
}
IDirectXFileSaveObjectImpl
;
HRESULT
IDirectXFileImpl_Create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
);
HRESULT
IDirectXFileBinaryImpl_Create
(
IDirectXFileBinaryImpl
**
ppObj
);
HRESULT
IDirectXFileDataImpl_Create
(
IDirectXFileDataImpl
**
ppObj
);
HRESULT
IDirectXFileDataReferenceImpl_Create
(
IDirectXFileDataReferenceImpl
**
ppObj
);
HRESULT
IDirectXFileEnumObjectImpl_Create
(
IDirectXFileEnumObjectImpl
**
ppObj
);
HRESULT
IDirectXFileFileObjectImpl_Create
(
IDirectXFileObjectImpl
**
ppObj
);
HRESULT
IDirectXFileFileSaveObjectImpl_Create
(
IDirectXFileSaveObjectImpl
**
ppObj
);
...
...
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