JavaScript binding for new mesh APIs
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / src / utils / v8-utils.h
index 534c547..7cd6891 100644 (file)
@@ -195,7 +195,7 @@ Property::Value GetPropertyValueFromObject( bool& found, v8::Isolate* isolate, c
 /**
  * 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);
 
@@ -252,6 +252,13 @@ bool GetBooleanParameter( unsigned int index, bool& found, v8::Isolate* isolate,
 /**
  * @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  );