Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Christian Butz
VTK
Commits
cc2bc350
Commit
cc2bc350
authored
Jun 17, 2010
by
David Gobbi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COMP: compiler warnings
parent
3d8a83b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Wrapping/lex.yy.c
Wrapping/lex.yy.c
+4
-4
Wrapping/vtkWrapPython.c
Wrapping/vtkWrapPython.c
+2
-2
No files found.
Wrapping/lex.yy.c
View file @
cc2bc350
...
...
@@ -214,7 +214,7 @@ struct yy_buffer_state
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
in
t
yy_n_chars
;
size_
t
yy_n_chars
;
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
...
...
@@ -284,7 +284,7 @@ static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */
/* yy_hold_char holds the character lost when yytext is formed. */
static
char
yy_hold_char
;
static
in
t
yy_n_chars
;
/* number of characters read into yy_ch_buf */
static
size_
t
yy_n_chars
;
/* number of characters read into yy_ch_buf */
int
yyleng
;
/* Points to current character in buffer. */
...
...
@@ -2861,7 +2861,7 @@ static int yy_get_next_buffer (void)
else
{
in
t
num_to_read
=
size_
t
num_to_read
=
YY_CURRENT_BUFFER_LVALUE
->
yy_buf_size
-
number_to_move
-
1
;
while
(
num_to_read
<=
0
)
...
...
@@ -2906,7 +2906,7 @@ static int yy_get_next_buffer (void)
/* Read in more data. */
YY_INPUT
(
(
&
YY_CURRENT_BUFFER_LVALUE
->
yy_ch_buf
[
number_to_move
]),
(
yy_n_chars
),
(
size_t
)
num_to_read
);
(
yy_n_chars
),
num_to_read
);
YY_CURRENT_BUFFER_LVALUE
->
yy_n_chars
=
(
yy_n_chars
);
}
...
...
Wrapping/vtkWrapPython.c
View file @
cc2bc350
...
...
@@ -3021,7 +3021,7 @@ static void vtkWrapPython_GenerateObjectNew(
/* -------------------------------------------------------------------- */
/* generate extra functions for a special object */
static
void
vtkWrapPython_GenerateSpecialObjectNew
(
FILE
*
fp
,
FileInfo
*
data
,
int
class_has_new
)
FILE
*
fp
,
FileInfo
*
data
)
{
static
const
char
*
compare_consts
[
6
]
=
{
"Py_LT"
,
"Py_LE"
,
"Py_EQ"
,
"Py_NE"
,
"Py_GT"
,
"Py_GE"
};
...
...
@@ -3326,7 +3326,7 @@ void vtkParseOutput(FILE *fp, FileInfo *data)
/* output the class initilization function for special objects */
else
if
(
!
data
->
IsAbstract
)
{
vtkWrapPython_GenerateSpecialObjectNew
(
fp
,
data
,
class_has_new
);
vtkWrapPython_GenerateSpecialObjectNew
(
fp
,
data
);
}
/* the New method for un-wrappable classes returns "NULL" */
...
...
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