Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
59c3dd80
Commit
59c3dd80
authored
Nov 08, 2006
by
Hisham Muhammad
Browse files
Yet another sanity check.
parent
c494308b
Changes
1
Show whitespace changes
Inline
Side-by-side
Vector.c
View file @
59c3dd80
...
...
@@ -63,6 +63,7 @@ void Vector_delete(Vector* this) {
#ifdef DEBUG
static
inline
bool
Vector_isConsistent
(
Vector
*
this
)
{
assert
(
this
->
items
<=
this
->
arraySize
);
if
(
this
->
owner
)
{
for
(
int
i
=
0
;
i
<
this
->
items
;
i
++
)
if
(
this
->
array
[
i
]
&&
this
->
array
[
i
]
->
class
!=
this
->
vectorType
)
...
...
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