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
2510658d
Commit
2510658d
authored
Jun 27, 2005
by
Eric Pouech
Committed by
Alexandre Julliard
Jun 27, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now generating argument-less functions as (void) instead of ().
parent
1f7a8d6a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
12 deletions
+15
-12
make_opengl
dlls/opengl32/make_opengl
+3
-0
opengl_ext.c
dlls/opengl32/opengl_ext.c
+0
-0
opengl_norm.c
dlls/opengl32/opengl_norm.c
+12
-12
No files found.
dlls/opengl32/make_opengl
View file @
2510658d
...
...
@@ -238,6 +238,7 @@ sub GenerateThunk($$$$)
$call_arg
=
"$call_arg "
;
}
}
$ret
.=
'void '
if
(
$#
{
@
{
$func_ref
->
[
2
]}}
<
0
);
$ret
=
"$ret) {\n"
;
if
(
$func_ref
->
[
1
]
ne
"void"
)
{
$ret
=
"$ret "
.
ConvertType
(
$func_ref
->
[
1
])
.
" ret_value;\n"
;
...
...
@@ -689,6 +690,7 @@ foreach (sort keys %ext_functions) {
print
EXT
" "
;
}
}
print
EXT
'void '
if
(
$#
{
@
{
$func_ref
->
[
2
]}}
<
0
);
print
EXT
") = (void *) 0xdeadbeef;\n"
;
}
...
...
@@ -706,6 +708,7 @@ foreach (sort keys %ext_functions) {
print
EXT
" "
;
}
}
print
EXT
'void '
if
(
$#
{
@
{
$func_ref
->
[
2
]}}
<
0
);
print
EXT
");\n"
;
}
...
...
dlls/opengl32/opengl_ext.c
View file @
2510658d
This diff is collapsed.
Click to expand it.
dlls/opengl32/opengl_norm.c
View file @
2510658d
...
...
@@ -932,7 +932,7 @@ void WINAPI wine_glEnableClientState( GLenum array ) {
/***********************************************************************
* glEnd (OPENGL32.@)
*/
void
WINAPI
wine_glEnd
(
)
{
void
WINAPI
wine_glEnd
(
void
)
{
TRACE
(
"()
\n
"
);
ENTER_GL
();
glEnd
(
);
...
...
@@ -942,7 +942,7 @@ void WINAPI wine_glEnd( ) {
/***********************************************************************
* glEndList (OPENGL32.@)
*/
void
WINAPI
wine_glEndList
(
)
{
void
WINAPI
wine_glEndList
(
void
)
{
TRACE
(
"()
\n
"
);
ENTER_GL
();
glEndList
(
);
...
...
@@ -1082,7 +1082,7 @@ void WINAPI wine_glFeedbackBuffer( GLsizei size, GLenum type, GLfloat* buffer )
/***********************************************************************
* glFinish (OPENGL32.@)
*/
void
WINAPI
wine_glFinish
(
)
{
void
WINAPI
wine_glFinish
(
void
)
{
TRACE
(
"()
\n
"
);
ENTER_GL
();
glFinish
(
);
...
...
@@ -1092,7 +1092,7 @@ void WINAPI wine_glFinish( ) {
/***********************************************************************
* glFlush (OPENGL32.@)
*/
void
WINAPI
wine_glFlush
(
)
{
void
WINAPI
wine_glFlush
(
void
)
{
TRACE
(
"()
\n
"
);
ENTER_GL
();
glFlush
(
);
...
...
@@ -1274,7 +1274,7 @@ void WINAPI wine_glGetDoublev( GLenum pname, GLdouble* params ) {
/***********************************************************************
* glGetError (OPENGL32.@)
*/
GLenum
WINAPI
wine_glGetError
(
)
{
GLenum
WINAPI
wine_glGetError
(
void
)
{
GLenum
ret_value
;
TRACE
(
"()
\n
"
);
ENTER_GL
();
...
...
@@ -1748,7 +1748,7 @@ void WINAPI wine_glIndexubv( GLubyte* c ) {
/***********************************************************************
* glInitNames (OPENGL32.@)
*/
void
WINAPI
wine_glInitNames
(
)
{
void
WINAPI
wine_glInitNames
(
void
)
{
TRACE
(
"()
\n
"
);
ENTER_GL
();
glInitNames
(
);
...
...
@@ -1914,7 +1914,7 @@ void WINAPI wine_glListBase( GLuint base ) {
/***********************************************************************
* glLoadIdentity (OPENGL32.@)
*/
void
WINAPI
wine_glLoadIdentity
(
)
{
void
WINAPI
wine_glLoadIdentity
(
void
)
{
TRACE
(
"()
\n
"
);
ENTER_GL
();
glLoadIdentity
(
);
...
...
@@ -2384,7 +2384,7 @@ void WINAPI wine_glPolygonStipple( GLubyte* mask ) {
/***********************************************************************
* glPopAttrib (OPENGL32.@)
*/
void
WINAPI
wine_glPopAttrib
(
)
{
void
WINAPI
wine_glPopAttrib
(
void
)
{
TRACE
(
"()
\n
"
);
ENTER_GL
();
glPopAttrib
(
);
...
...
@@ -2394,7 +2394,7 @@ void WINAPI wine_glPopAttrib( ) {
/***********************************************************************
* glPopClientAttrib (OPENGL32.@)
*/
void
WINAPI
wine_glPopClientAttrib
(
)
{
void
WINAPI
wine_glPopClientAttrib
(
void
)
{
TRACE
(
"()
\n
"
);
ENTER_GL
();
glPopClientAttrib
(
);
...
...
@@ -2404,7 +2404,7 @@ void WINAPI wine_glPopClientAttrib( ) {
/***********************************************************************
* glPopMatrix (OPENGL32.@)
*/
void
WINAPI
wine_glPopMatrix
(
)
{
void
WINAPI
wine_glPopMatrix
(
void
)
{
TRACE
(
"()
\n
"
);
ENTER_GL
();
glPopMatrix
(
);
...
...
@@ -2414,7 +2414,7 @@ void WINAPI wine_glPopMatrix( ) {
/***********************************************************************
* glPopName (OPENGL32.@)
*/
void
WINAPI
wine_glPopName
(
)
{
void
WINAPI
wine_glPopName
(
void
)
{
TRACE
(
"()
\n
"
);
ENTER_GL
();
glPopName
(
);
...
...
@@ -2454,7 +2454,7 @@ void WINAPI wine_glPushClientAttrib( GLbitfield mask ) {
/***********************************************************************
* glPushMatrix (OPENGL32.@)
*/
void
WINAPI
wine_glPushMatrix
(
)
{
void
WINAPI
wine_glPushMatrix
(
void
)
{
TRACE
(
"()
\n
"
);
ENTER_GL
();
glPushMatrix
(
);
...
...
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