The C runtime does not process non-essential data. You can find an animation duration in seconds easily though. spAnimation
has a field called duration
which gives you the animation's duration in seconds. To iterate over all animations, you can use the following code:
spSkeleton *skeleton = ...
spSkeletonData *skeletonData = skeleton->data;
for (int i = 0; i < skeletonData->animationsCount; i++) {
spAnimation *animation = skeletonData->animations[i];
// animation->duration
}
You can also find an individual animation by name via spSkeletonData_findAnimation(skeletonData, "my animation name")
.