mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +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() {
|
||||
spine::Json* curr = nullptr;
|
||||
spine::Json* curr = NULL;
|
||||
spine::Json* next = _child;
|
||||
do {
|
||||
curr = next;
|
||||
|
||||
@ -380,7 +380,7 @@ char *SkeletonBinary::readString(DataInput *input) {
|
||||
|
||||
char* SkeletonBinary::readStringRef(DataInput* input, SkeletonData* skeletonData) {
|
||||
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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user