long toLong(const JSValueRef& arg);
/**
+ * Converts JSvalueRef to long long integer value.
+ * @param arg JSValueRef object to convert.
+ * @return Long long integer value.
+ * @throw ConversionException Thrown when conversion fails.
+ */
+ long long toLongLong(const JSValueRef& arg);
+ /**
* Converts JSValueRef to unsigned long value.
* @param arg JSValueRef object to convert.
* @return Unsigned long value.
*/
JSValueRef toJSValueRefLong(const long arg);
+ /**
+ * Converts unsigned long value to JSValueRef.
+ * @param arg long long int value to convert.
+ * @return JSValueRef object.
+ * @throw ConversionException Thrown when conversion fails.
+ */
+ JSValueRef toJSValueRef(long long int arg);
+
/**
* Converts STL string to JSValueRef.
* @param arg STL string to convert.