mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
Merge branch '3.8' into 4.0-beta
This commit is contained in:
commit
fdc96d8c8e
@ -120,7 +120,7 @@ Json::Json(const char *value) :
|
|||||||
}
|
}
|
||||||
|
|
||||||
Json::~Json() {
|
Json::~Json() {
|
||||||
spine::Json* curr = nullptr;
|
spine::Json* curr = NULL;
|
||||||
spine::Json* next = _child;
|
spine::Json* next = _child;
|
||||||
do {
|
do {
|
||||||
curr = next;
|
curr = next;
|
||||||
|
|||||||
@ -380,7 +380,7 @@ char *SkeletonBinary::readString(DataInput *input) {
|
|||||||
|
|
||||||
char* SkeletonBinary::readStringRef(DataInput* input, SkeletonData* skeletonData) {
|
char* SkeletonBinary::readStringRef(DataInput* input, SkeletonData* skeletonData) {
|
||||||
int index = readVarint(input, true);
|
int index = readVarint(input, true);
|
||||||
return index == 0 ? nullptr : skeletonData->_strings[index - 1];
|
return index == 0 ? NULL : skeletonData->_strings[index - 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
float SkeletonBinary::readFloat(DataInput *input) {
|
float SkeletonBinary::readFloat(DataInput *input) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user