You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/*! @typedef JSDataRef A Typed Array data buffer. */
59
59
typedefstructOpaqueJSData*JSDataRef;
60
60
61
-
JS_EXPORTvoidJSDataRetain(JSDataRefdata);
61
+
/*!
62
+
@function
63
+
@abstract Returns a retained JSDataRef that encapsulates a pointer to a Typed Array's data in memory
64
+
@param ctx The execution context to use.
65
+
@param value The JSObjectRef whose Typed Array type data pointer you want to obtain.
66
+
@result A JSDataRef or NULL if the JSObjectRef is not a Typed Array. The return value is automatically retained and has to be released again with JSDataRelease
0 commit comments