mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Fixed C89 compilation.
This commit is contained in:
parent
52420e8a37
commit
5b53c28ef7
@ -78,9 +78,9 @@ spAnimationState* spAnimationState_create (spAnimationStateData* data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void spAnimationState_dispose (spAnimationState* self) {
|
void spAnimationState_dispose (spAnimationState* self) {
|
||||||
|
int i;
|
||||||
_spAnimationState* internal = SUB_CAST(_spAnimationState, self);
|
_spAnimationState* internal = SUB_CAST(_spAnimationState, self);
|
||||||
FREE(internal->events);
|
FREE(internal->events);
|
||||||
int i;
|
|
||||||
for (i = 0; i < self->trackCount; i++)
|
for (i = 0; i < self->trackCount; i++)
|
||||||
_spTrackEntry_disposeAll(self->tracks[i]);
|
_spTrackEntry_disposeAll(self->tracks[i]);
|
||||||
FREE(self->tracks);
|
FREE(self->tracks);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user