]> git.saurik.com Git - cycript.git/blobdiff - cycript.hpp
Fix quote when stringifying C/Objective-C strings.
[cycript.git] / cycript.hpp
index 0f6ed1354192be1cac5b2320a0dd872d87db3664..30010f4e447503fae14882b61e9c477827d5690f 100644 (file)
 #ifndef CYCRIPT_HPP
 #define CYCRIPT_HPP
 
-#include <sig/types.hpp>
 #include <sstream>
 
+#include <sig/types.hpp>
+
 #include "Pooling.hpp"
 #include "String.hpp"
 
@@ -32,7 +33,7 @@ bool CYRecvAll_(int socket, uint8_t *data, size_t size);
 bool CYSendAll_(int socket, const uint8_t *data, size_t size);
 
 void CYNumerify(std::ostringstream &str, double value);
-void CYStringify(std::ostringstream &str, const char *data, size_t size);
+void CYStringify(std::ostringstream &str, const char *data, size_t size, bool c = false);
 
 double CYCastDouble(const char *value, size_t size);
 double CYCastDouble(const char *value);