Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
85f5222d
Commit
85f5222d
authored
Mar 08, 2010
by
Dave Partyka
Browse files
ENH: remove debugging fprintfs.
parent
a968047a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Wrapping/vtkWrapTcl.c
View file @
85f5222d
...
@@ -639,7 +639,6 @@ void outputFunction(FILE *fp, FileInfo *data)
...
@@ -639,7 +639,6 @@ void outputFunction(FILE *fp, FileInfo *data)
if
(
currentFunction
->
NumberOfArguments
>
1
||
if
(
currentFunction
->
NumberOfArguments
>
1
||
!
currentFunction
->
ArgCounts
[
i
])
!
currentFunction
->
ArgCounts
[
i
])
{
{
fprintf
(
fp
,
"//ITS A POINTER ARG
\n
"
);
args_ok
=
0
;
args_ok
=
0
;
}
}
}
}
...
@@ -651,34 +650,29 @@ void outputFunction(FILE *fp, FileInfo *data)
...
@@ -651,34 +650,29 @@ void outputFunction(FILE *fp, FileInfo *data)
(
currentFunction
->
ArgTypes
[
i
]
!=
0x1A
)
&&
(
currentFunction
->
ArgTypes
[
i
]
!=
0x1A
)
&&
(
currentFunction
->
ArgTypes
[
i
]
!=
0x1B
))
(
currentFunction
->
ArgTypes
[
i
]
!=
0x1B
))
{
{
fprintf
(
fp
,
"//if > 0x10 and != to 0x13,0x14,0x15,0x16,0x1A
\n
"
);
args_ok
=
0
;
args_ok
=
0
;
}
}
}
}
if
((
currentFunction
->
ReturnType
%
0x10
)
==
0x8
)
if
((
currentFunction
->
ReturnType
%
0x10
)
==
0x8
)
{
{
fprintf
(
fp
,
"//return type is == 0x8
\n
"
);
args_ok
=
0
;
args_ok
=
0
;
}
}
if
(((
currentFunction
->
ReturnType
%
0x1000
)
/
0x100
!=
0x3
)
&&
if
(((
currentFunction
->
ReturnType
%
0x1000
)
/
0x100
!=
0x3
)
&&
((
currentFunction
->
ReturnType
%
0x1000
)
/
0x100
!=
0x1
)
&&
((
currentFunction
->
ReturnType
%
0x1000
)
/
0x100
!=
0x1
)
&&
((
currentFunction
->
ReturnType
%
0x1000
)
/
0x100
))
((
currentFunction
->
ReturnType
%
0x1000
)
/
0x100
))
{
{
fprintf
(
fp
,
"//return type is != 0x3 0x1
\n
"
);
args_ok
=
0
;
args_ok
=
0
;
}
}
if
(
currentFunction
->
NumberOfArguments
&&
if
(
currentFunction
->
NumberOfArguments
&&
(
currentFunction
->
ArgTypes
[
0
]
==
0x5000
)
(
currentFunction
->
ArgTypes
[
0
]
==
0x5000
)
&&
(
currentFunction
->
NumberOfArguments
!=
1
))
&&
(
currentFunction
->
NumberOfArguments
!=
1
))
{
{
fprintf
(
fp
,
"//number OfArguments != 1
\n
"
);
args_ok
=
0
;
args_ok
=
0
;
}
}
/* we can't handle void * return types */
/* we can't handle void * return types */
if
((
currentFunction
->
ReturnType
%
0x1000
)
==
0x302
)
if
((
currentFunction
->
ReturnType
%
0x1000
)
==
0x302
)
{
{
fprintf
(
fp
,
"//WE CAN'T HANDLE VOID RETURN TYPES
\n
"
);
args_ok
=
0
;
args_ok
=
0
;
}
}
...
...
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