X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-script-v8%2Fsrc%2Futils%2Fv8-utils.h;h=7cd68914ad057eac69c740c886c2258cd9c1eb37;hp=534c5472f14270936b8e1ebfd6cf34b95c4baf5d;hb=8c31a5ca493d17693e53f9909a4453b1fa058ab3;hpb=6da8438e9ac7350d9cc6f69b35cbcc4ab3987da1 diff --git a/plugins/dali-script-v8/src/utils/v8-utils.h b/plugins/dali-script-v8/src/utils/v8-utils.h index 534c547..7cd6891 100644 --- a/plugins/dali-script-v8/src/utils/v8-utils.h +++ b/plugins/dali-script-v8/src/utils/v8-utils.h @@ -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& 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 );