]> git.saurik.com Git - cycript.git/blobdiff - cycript.hpp
Removed a null-termination usage in Replace for concatenation of strings.
[cycript.git] / cycript.hpp
index ff163246c21331827fb73024ce27e7e435092a7b..a1e1f022d5cff8abdc7b3170835892e64e088483 100644 (file)
@@ -93,7 +93,7 @@ JSValueRef CYGetProperty(JSContextRef context, JSObjectRef object, JSStringRef n
 void CYSetProperty(JSContextRef context, JSObjectRef object, size_t index, JSValueRef value);
 void CYSetProperty(JSContextRef context, JSObjectRef object, JSStringRef name, JSValueRef value, JSPropertyAttributes attributes = kJSPropertyAttributeNone);
 
-//JSValueRef CYCastJSValue(JSContextRef context, bool value);
+JSValueRef CYCastJSValue(JSContextRef context, bool value);
 JSValueRef CYCastJSValue(JSContextRef context, double value);
 JSValueRef CYCastJSValue(JSContextRef context, int value);
 JSValueRef CYCastJSValue(JSContextRef context, unsigned int value);