]> git.saurik.com Git - cycript.git/blobdiff - Syntax.hpp
Print NULL instead of crashing for CString.toCYON.
[cycript.git] / Syntax.hpp
index ae0a68b72db3b02961b626c1c87f2c3d626465ae..a82ded1d271a3de5b8ab96a60859be7195e00441 100644 (file)
 
 double CYCastDouble(const char *value, size_t size);
 double CYCastDouble(const char *value);
+double CYCastDouble(CYUTF8String value);
 
 void CYNumerify(std::ostringstream &str, double value);
 void CYStringify(std::ostringstream &str, const char *data, size_t size, bool c = false);
 
+// XXX: this really should not be here ... :/
+void *CYPoolFile(CYPool &pool, const char *path, size_t *psize);
+CYUTF8String CYPoolFileUTF8String(CYPool &pool, const char *path);
+
 struct CYContext;
 
 struct CYThing {