Closed gui-com-pt closed 8 years ago
Hi @guilhermegeek
thanks for the PR could you please guard it with version check to make it compatible with the old version?
Shouldn't you use a new branch for 3.12 instead, and recommend users higher than 3.X to use it? By guard it you mean comparing the HHVM_VERSION constant right? The switch statement would be duplicated (almost 50 lines of code). Sorry but i got confused with the "guard" word, it's my first PR of this type ;)
Hi,
Yes. I mean maybe we could define KindOfStaticString
as an macro and define it to KindOfPersistentString
if the version is larger than the latest renamed version.
maybe something like this:
# if HHVM_VERSION < xxx
# define KindOfStaticString KindOfStaticString
# else
# define KindOfStaticString KindOfPersistentString
#endif
Hi,
Thank you for the guidance! I've used HHVM_VERSION_ID and the build has passed. I had rebased 3 commits i made (the reason where there're 3 builds in Travis).
Great, Thanks for your work!
With I only renamed the function KindOfStaticString as stated in this commit: facebook/hhvm@127a039edfed7558bb3524cf02a42a0da0a3f7fc
I've sent a pull request at reeze/msgpack-hhvm#9