std::string PropertyNameToJavaScriptName(const std::string& hyphenatedName);
/**
- * Convert camelCase to hyphenated to (Wrapper property name to Dali property)
- * E.g. anchorPoint to "anchor-point"
- * @param[in] camelCase a std::string camelCase
- * @return a hyphenated std::string conversion
- */
- std::string JavaScriptNameToPropertyName(const std::string& camelCase);
-
-/**
* Script error, throws an exception
*/
void ScriptError( const char* function, v8::Isolate* isolate, std::string errorString );
/**
* Given a JavaScript object with
* @param [in] object JavaScrript object
- * @return DALi ProperyMap from the JavaScript object
+ * @return DALi ProperyMap from the JavaScript object
*/
Property::Map GetPropertyMapFromObject( v8::Isolate* isolate, const v8::Local<v8::Object>& object);
/**
* @param [in] index parameter index, e.g. callMyFunc( index0, index1, index2).
* @param[out] found whether the parameter was found
+ * @return ArrayBufferView from the JavaScript function arguments
+ */
+void* GetArrayBufferViewParameter( unsigned int index, bool& found, v8::Isolate* isolate, const v8::FunctionCallbackInfo< v8::Value >& args );
+
+/**
+ * @param [in] index parameter index, e.g. callMyFunc( index0, index1, index2).
+ * @param[out] found whether the parameter was found
* @return DALi Handle value from the JavaScript function arguments
*/
Handle GetHandleParameter( unsigned int index, bool& found, v8::Isolate* isolate, const v8::FunctionCallbackInfo< v8::Value >& args );