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
313f838a
Commit
313f838a
authored
Jan 26, 2011
by
David Gobbi
Browse files
BUG: vtkWrap_IsInteger() was rejecting VTK_PARSE_UNSIGNED_CHAR
parent
1c3ddc1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Wrapping/vtkWrap.c
View file @
313f838a
...
...
@@ -160,7 +160,10 @@ int vtkWrap_IsInteger(ValueInfo *val)
{
unsigned
int
t
=
(
val
->
Type
&
VTK_PARSE_BASE_TYPE
);
t
=
(
t
&
~
VTK_PARSE_UNSIGNED
);
if
(
t
!=
VTK_PARSE_UNSIGNED_CHAR
)
{
t
=
(
t
&
~
VTK_PARSE_UNSIGNED
);
}
switch
(
t
)
{
case
VTK_PARSE_SHORT
:
...
...
@@ -169,6 +172,7 @@ int vtkWrap_IsInteger(ValueInfo *val)
case
VTK_PARSE_ID_TYPE
:
case
VTK_PARSE_LONG_LONG
:
case
VTK_PARSE___INT64
:
case
VTK_PARSE_UNSIGNED_CHAR
:
case
VTK_PARSE_SIGNED_CHAR
:
case
VTK_PARSE_SSIZE_T
:
return
1
;
...
...
Write
Preview
Supports
Markdown
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