1 {{+bindTo:partials.standard_nacl_api}}
4 {{- dummy div to appease doxygen -}}
6 <!-- Generated by Doxygen 1.7.6.1 -->
10 <div class=
"contents">
12 Functions
</h2><table class=
"memberdecls">
14 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___completion_callback.html">PP_CompletionCallback
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#ga8691f15edad9b391c3644064ac57f191">PP_MakeCompletionCallback
</a> (
<a class=
"el" href=
"group___typedefs.html#ga6fe12e1a41df5e10103a811036d4d8d2">PP_CompletionCallback_Func
</a> func, void *user_data)
</td></tr>
15 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___completion_callback.html">PP_CompletionCallback
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#gabd6bf83f4c787477631c37d44418c4db">PP_MakeOptionalCompletionCallback
</a> (
<a class=
"el" href=
"group___typedefs.html#ga6fe12e1a41df5e10103a811036d4d8d2">PP_CompletionCallback_Func
</a> func, void *user_data)
</td></tr>
16 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">void
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#gaffce49266a735f9ee8d149b14477404f">PP_RunCompletionCallback
</a> (struct
<a class=
"el" href=
"struct_p_p___completion_callback.html">PP_CompletionCallback
</a> *cc, int32_t result)
</td></tr>
17 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___completion_callback.html">PP_CompletionCallback
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#ga340e452b4931d17bd44928769490e282">PP_BlockUntilComplete
</a> (void)
</td></tr>
18 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">void
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#ga8dac45aa496bbb1f97a15e2833d3ed02">PP_RunAndClearCompletionCallback
</a> (struct
<a class=
"el" href=
"struct_p_p___completion_callback.html">PP_CompletionCallback
</a> *cc, int32_t res)
</td></tr>
19 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___point.html">PP_Point
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#ga15880e8085178758053cc521af33b250">PP_MakePoint
</a> (int32_t x, int32_t y)
</td></tr>
20 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___float_point.html">PP_FloatPoint
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#ga0aca79088546fe91d13c97db9033e709">PP_MakeFloatPoint
</a> (float x, float y)
</td></tr>
21 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___rect.html">PP_Rect
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#gaf868e2929269ef195241b79a015fcf61">PP_MakeRectFromXYWH
</a> (int32_t x, int32_t y, int32_t w, int32_t h)
</td></tr>
22 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___float_rect.html">PP_FloatRect
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#ga0d58c0f7ab657c5cdd92afe7b5da0fce">PP_MakeFloatRectFromXYWH
</a> (float x, float y, float w, float h)
</td></tr>
23 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___size.html">PP_Size
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#ga35a97e64d18402d8feff46722b98beb0">PP_MakeSize
</a> (int32_t w, int32_t h)
</td></tr>
24 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___float_size.html">PP_FloatSize
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#gaa45701f5b00be4d57637165ae9382251">PP_MakeFloatSize
</a> (float w, float h)
</td></tr>
25 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___touch_point.html">PP_TouchPoint
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#gae7f6d41cbb173c12f474242c2a3bf5e7">PP_MakeTouchPoint
</a> (void)
</td></tr>
26 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___var.html">PP_Var
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#ga0edc8314fc1a92f93dd3d0eab286cb5d">PP_MakeUndefined
</a> (void)
</td></tr>
27 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___var.html">PP_Var
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#ga75f83ac65ccbf57866d52d45cd5792e7">PP_MakeNull
</a> (void)
</td></tr>
28 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___var.html">PP_Var
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#ga0fba11ae90d57086064d41b0af710253">PP_MakeBool
</a> (
<a class=
"el" href=
"group___enums.html#ga4f272d99be14aacafe08dfd4ef830918">PP_Bool
</a> value)
</td></tr>
29 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___var.html">PP_Var
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#gad14a59fa681d4cc532b3d49c0438f0ca">PP_MakeInt32
</a> (int32_t value)
</td></tr>
30 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">struct
<a class=
"el" href=
"struct_p_p___var.html">PP_Var
</a> </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#gafbebaae212cb7e737efc56eea0e785b5">PP_MakeDouble
</a> (double value)
</td></tr>
31 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int32_t
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#ga2fc7b396531c19417d8d7171d56da8b6">PPP_InitializeModule
</a> (
<a class=
"el" href=
"group___typedefs.html#gab780dd451cd7f51284cb752edd88f9a0">PP_Module
</a> module,
<a class=
"el" href=
"group___typedefs.html#ga68ad7c927b86e0c29d890603edd33154">PPB_GetInterface
</a> get_browser_interface)
</td></tr>
32 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">void
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#gaa3021aba7ddc17a8cecb4bc4f8374e98">PPP_ShutdownModule
</a> (void)
</td></tr>
33 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">const void *
 </td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group___functions.html#ga4127b148b2bd0f3bc2c078dd38cbe4cf">PPP_GetInterface
</a> (const char *interface_name)
</td></tr>
35 <hr /><h2>Function Documentation
</h2>
36 <a class=
"anchor" id=
"ga340e452b4931d17bd44928769490e282"></a><!-- doxytag: member="pp_completion_callback.h::PP_BlockUntilComplete" ref="ga340e452b4931d17bd44928769490e282" args="(void)" -->
38 <div class=
"memproto">
39 <table class=
"memname">
41 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___completion_callback.html">PP_CompletionCallback
</a> <a class=
"el" href=
"group___functions.html#ga340e452b4931d17bd44928769490e282">PP_BlockUntilComplete
</a> </td>
43 <td class=
"paramtype">void
 </td>
44 <td class=
"paramname"></td><td>)
</td>
45 <td><code> [read]
</code></td>
50 <p><a class=
"el" href=
"group___functions.html#ga340e452b4931d17bd44928769490e282" title=
"PP_BlockUntilComplete() is used in place of an actual completion callback to request blocking behavio...">PP_BlockUntilComplete()
</a> is used in place of an actual completion callback to request blocking behavior.
</p>
51 <p>If specified, the calling thread will block until the function completes. Blocking completion callbacks are only allowed from background threads.
</p>
52 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___completion_callback.html" title=
"PP_CompletionCallback is a common mechanism for supporting potentially asynchronous calls in browser ...">PP_CompletionCallback
</a></code> structure.
</dd></dl>
55 <a class=
"anchor" id=
"ga0fba11ae90d57086064d41b0af710253"></a><!-- doxytag: member="pp_var.h::PP_MakeBool" ref="ga0fba11ae90d57086064d41b0af710253" args="(PP_Bool value)" -->
57 <div class=
"memproto">
58 <table class=
"memname">
60 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___var.html">PP_Var
</a> <a class=
"el" href=
"group___functions.html#ga0fba11ae90d57086064d41b0af710253">PP_MakeBool
</a> </td>
62 <td class=
"paramtype"><a class=
"el" href=
"group___enums.html#ga4f272d99be14aacafe08dfd4ef830918">PP_Bool
</a> </td>
63 <td class=
"paramname"><em>value
</em></td><td>)
</td>
64 <td><code> [read]
</code></td>
69 <p><a class=
"el" href=
"group___functions.html#ga0fba11ae90d57086064d41b0af710253" title=
"PP_MakeBool() is used to wrap a boolean value into a PP_Var struct for passing to the browser...">PP_MakeBool()
</a> is used to wrap a boolean value into a
<code><a class=
"el" href=
"struct_p_p___var.html" title=
"The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var
</a></code> struct for passing to the browser.
</p>
70 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
71 <table class=
"params">
72 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">value
</td><td>A
<code>PP_Bool
</code> enumeration to wrap.
</td></tr>
76 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___var.html" title=
"The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var
</a></code> structure.
</dd></dl>
79 <a class=
"anchor" id=
"ga8691f15edad9b391c3644064ac57f191"></a><!-- doxytag: member="pp_completion_callback.h::PP_MakeCompletionCallback" ref="ga8691f15edad9b391c3644064ac57f191" args="(PP_CompletionCallback_Func func, void *user_data)" -->
81 <div class=
"memproto">
82 <table class=
"memname">
84 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___completion_callback.html">PP_CompletionCallback
</a> <a class=
"el" href=
"group___functions.html#ga8691f15edad9b391c3644064ac57f191">PP_MakeCompletionCallback
</a> </td>
86 <td class=
"paramtype"><a class=
"el" href=
"group___typedefs.html#ga6fe12e1a41df5e10103a811036d4d8d2">PP_CompletionCallback_Func
</a> </td>
87 <td class=
"paramname"><em>func
</em>,
</td>
90 <td class=
"paramkey"></td>
92 <td class=
"paramtype">void *
 </td>
93 <td class=
"paramname"><em>user_data
</em> </td>
98 <td></td><td><code> [read]
</code></td>
103 <p><a class=
"el" href=
"group___functions.html#ga8691f15edad9b391c3644064ac57f191" title=
"PP_MakeCompletionCallback() is used to create a PP_CompletionCallback.">PP_MakeCompletionCallback()
</a> is used to create a
<code><a class=
"el" href=
"struct_p_p___completion_callback.html" title=
"PP_CompletionCallback is a common mechanism for supporting potentially asynchronous calls in browser ...">PP_CompletionCallback
</a></code>.
</p>
104 <p><b>Example, creating a Required callback:
</b></p>
105 <div class=
"fragment"><pre class=
"fragment"> <span class=
"keyword">struct
</span><a class=
"code" href=
"struct_p_p___completion_callback.html" title=
"PP_CompletionCallback is a common mechanism for supporting potentially asynchronous calls in browser ...">PP_CompletionCallback
</a> cc =
<a class=
"code" href=
"group___functions.html#ga8691f15edad9b391c3644064ac57f191" title=
"PP_MakeCompletionCallback() is used to create a PP_CompletionCallback.">PP_MakeCompletionCallback
</a>(Foo, NULL);
106 </pre></div><p><b>Example, creating an Optional callback:
</b></p>
107 <div class=
"fragment"><pre class=
"fragment"> <span class=
"keyword">struct
</span><a class=
"code" href=
"struct_p_p___completion_callback.html" title=
"PP_CompletionCallback is a common mechanism for supporting potentially asynchronous calls in browser ...">PP_CompletionCallback
</a> cc =
<a class=
"code" href=
"group___functions.html#ga8691f15edad9b391c3644064ac57f191" title=
"PP_MakeCompletionCallback() is used to create a PP_CompletionCallback.">PP_MakeCompletionCallback
</a>(Foo, NULL);
108 cc.
<a class=
"code" href=
"struct_p_p___completion_callback.html#a4bd2d9440bc8dc18eeeca2d464156a38" title=
"Flags used to control how non-NULL callbacks are scheduled by asynchronous methods.">flags
</a> = cc.
<a class=
"code" href=
"struct_p_p___completion_callback.html#a4bd2d9440bc8dc18eeeca2d464156a38" title=
"Flags used to control how non-NULL callbacks are scheduled by asynchronous methods.">flags
</a> |
<a class=
"code" href=
"group___enums.html#gga7610f0fba2396d46384859caa4d91798aebb176d8930b14219b7966fd93a2e967" title=
"This flag allows any method taking such callback to complete synchronously and not call the callback ...">PP_COMPLETIONCALLBACK_FLAG_OPTIONAL
</a>;
109 </pre></div><dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
110 <table class=
"params">
111 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">func
</td><td>A
<code>PP_CompletionCallback_Func
</code> that will be called.
</td></tr>
112 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">user_data
</td><td>A pointer to user data passed to your callback function. This is optional and is typically used to help track state when you may have multiple callbacks pending.
</td></tr>
116 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___completion_callback.html" title=
"PP_CompletionCallback is a common mechanism for supporting potentially asynchronous calls in browser ...">PP_CompletionCallback
</a></code> structure.
</dd></dl>
119 <a class=
"anchor" id=
"gafbebaae212cb7e737efc56eea0e785b5"></a><!-- doxytag: member="pp_var.h::PP_MakeDouble" ref="gafbebaae212cb7e737efc56eea0e785b5" args="(double value)" -->
120 <div class=
"memitem">
121 <div class=
"memproto">
122 <table class=
"memname">
124 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___var.html">PP_Var
</a> <a class=
"el" href=
"group___functions.html#gafbebaae212cb7e737efc56eea0e785b5">PP_MakeDouble
</a> </td>
126 <td class=
"paramtype">double
 </td>
127 <td class=
"paramname"><em>value
</em></td><td>)
</td>
128 <td><code> [read]
</code></td>
133 <p><a class=
"el" href=
"group___functions.html#gafbebaae212cb7e737efc56eea0e785b5" title=
"PP_MakeDouble() is used to wrap a double value into a PP_Var struct for passing to the browser...">PP_MakeDouble()
</a> is used to wrap a double value into a
<code><a class=
"el" href=
"struct_p_p___var.html" title=
"The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var
</a></code> struct for passing to the browser.
</p>
134 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
135 <table class=
"params">
136 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">value
</td><td>A double to wrap.
</td></tr>
140 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___var.html" title=
"The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var
</a></code> structure.
</dd></dl>
143 <a class=
"anchor" id=
"ga0aca79088546fe91d13c97db9033e709"></a><!-- doxytag: member="pp_point.h::PP_MakeFloatPoint" ref="ga0aca79088546fe91d13c97db9033e709" args="(float x, float y)" -->
144 <div class=
"memitem">
145 <div class=
"memproto">
146 <table class=
"memname">
148 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___float_point.html">PP_FloatPoint
</a> <a class=
"el" href=
"group___functions.html#ga0aca79088546fe91d13c97db9033e709">PP_MakeFloatPoint
</a> </td>
150 <td class=
"paramtype">float
 </td>
151 <td class=
"paramname"><em>x
</em>,
</td>
154 <td class=
"paramkey"></td>
156 <td class=
"paramtype">float
 </td>
157 <td class=
"paramname"><em>y
</em> </td>
162 <td></td><td><code> [read]
</code></td>
169 <a class=
"anchor" id=
"ga0d58c0f7ab657c5cdd92afe7b5da0fce"></a><!-- doxytag: member="pp_rect.h::PP_MakeFloatRectFromXYWH" ref="ga0d58c0f7ab657c5cdd92afe7b5da0fce" args="(float x, float y, float w, float h)" -->
170 <div class=
"memitem">
171 <div class=
"memproto">
172 <table class=
"memname">
174 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___float_rect.html">PP_FloatRect
</a> <a class=
"el" href=
"group___functions.html#ga0d58c0f7ab657c5cdd92afe7b5da0fce">PP_MakeFloatRectFromXYWH
</a> </td>
176 <td class=
"paramtype">float
 </td>
177 <td class=
"paramname"><em>x
</em>,
</td>
180 <td class=
"paramkey"></td>
182 <td class=
"paramtype">float
 </td>
183 <td class=
"paramname"><em>y
</em>,
</td>
186 <td class=
"paramkey"></td>
188 <td class=
"paramtype">float
 </td>
189 <td class=
"paramname"><em>w
</em>,
</td>
192 <td class=
"paramkey"></td>
194 <td class=
"paramtype">float
 </td>
195 <td class=
"paramname"><em>h
</em> </td>
200 <td></td><td><code> [read]
</code></td>
205 <p><a class=
"el" href=
"group___functions.html#ga0d58c0f7ab657c5cdd92afe7b5da0fce" title=
"PP_MakeFloatRectFromXYWH() creates a PP_FloatRect given x and y coordinates and width and height dime...">PP_MakeFloatRectFromXYWH()
</a> creates a
<code><a class=
"el" href=
"struct_p_p___float_rect.html" title=
"The PP_FloatRect struct contains the size and location of a 2D rectangle.">PP_FloatRect
</a></code> given x and y coordinates and width and height dimensions as float values.
</p>
206 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
207 <table class=
"params">
208 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">x
</td><td>An float value representing a horizontal coordinate of a point, starting with
0 as the left-most coordinate.
</td></tr>
209 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">y
</td><td>An float value representing a vertical coordinate of a point, starting with
0 as the top-most coordinate.
</td></tr>
210 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">w
</td><td>An float value representing a width.
</td></tr>
211 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">h
</td><td>An float value representing a height.
</td></tr>
215 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___float_rect.html" title=
"The PP_FloatRect struct contains the size and location of a 2D rectangle.">PP_FloatRect
</a></code> structure.
</dd></dl>
218 <a class=
"anchor" id=
"gaa45701f5b00be4d57637165ae9382251"></a><!-- doxytag: member="pp_size.h::PP_MakeFloatSize" ref="gaa45701f5b00be4d57637165ae9382251" args="(float w, float h)" -->
219 <div class=
"memitem">
220 <div class=
"memproto">
221 <table class=
"memname">
223 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___float_size.html">PP_FloatSize
</a> <a class=
"el" href=
"group___functions.html#gaa45701f5b00be4d57637165ae9382251">PP_MakeFloatSize
</a> </td>
225 <td class=
"paramtype">float
 </td>
226 <td class=
"paramname"><em>w
</em>,
</td>
229 <td class=
"paramkey"></td>
231 <td class=
"paramtype">float
 </td>
232 <td class=
"paramname"><em>h
</em> </td>
237 <td></td><td><code> [read]
</code></td>
242 <p><a class=
"el" href=
"group___functions.html#gaa45701f5b00be4d57637165ae9382251" title=
"PP_MakeFloatSize() creates a PP_FloatSize given a width and height as float values.">PP_MakeFloatSize()
</a> creates a
<code><a class=
"el" href=
"struct_p_p___float_size.html" title=
"The PP_FloatSize struct contains the size of a 2D rectangle.">PP_FloatSize
</a></code> given a width and height as float values.
</p>
243 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
244 <table class=
"params">
245 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">w
</td><td>An float value representing a width.
</td></tr>
246 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">h
</td><td>An float value representing a height.
</td></tr>
250 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___float_size.html" title=
"The PP_FloatSize struct contains the size of a 2D rectangle.">PP_FloatSize
</a></code> structure.
</dd></dl>
253 <a class=
"anchor" id=
"gad14a59fa681d4cc532b3d49c0438f0ca"></a><!-- doxytag: member="pp_var.h::PP_MakeInt32" ref="gad14a59fa681d4cc532b3d49c0438f0ca" args="(int32_t value)" -->
254 <div class=
"memitem">
255 <div class=
"memproto">
256 <table class=
"memname">
258 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___var.html">PP_Var
</a> <a class=
"el" href=
"group___functions.html#gad14a59fa681d4cc532b3d49c0438f0ca">PP_MakeInt32
</a> </td>
260 <td class=
"paramtype">int32_t
 </td>
261 <td class=
"paramname"><em>value
</em></td><td>)
</td>
262 <td><code> [read]
</code></td>
267 <p><a class=
"el" href=
"group___functions.html#gad14a59fa681d4cc532b3d49c0438f0ca" title=
"PP_MakeInt32() is used to wrap a 32 bit integer value into a PP_Var struct for passing to the browser...">PP_MakeInt32()
</a> is used to wrap a
32 bit integer value into a
<code><a class=
"el" href=
"struct_p_p___var.html" title=
"The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var
</a></code> struct for passing to the browser.
</p>
268 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
269 <table class=
"params">
270 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">value
</td><td>An int32 to wrap.
</td></tr>
274 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___var.html" title=
"The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var
</a></code> structure.
</dd></dl>
277 <a class=
"anchor" id=
"ga75f83ac65ccbf57866d52d45cd5792e7"></a><!-- doxytag: member="pp_var.h::PP_MakeNull" ref="ga75f83ac65ccbf57866d52d45cd5792e7" args="(void)" -->
278 <div class=
"memitem">
279 <div class=
"memproto">
280 <table class=
"memname">
282 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___var.html">PP_Var
</a> <a class=
"el" href=
"group___functions.html#ga75f83ac65ccbf57866d52d45cd5792e7">PP_MakeNull
</a> </td>
284 <td class=
"paramtype">void
 </td>
285 <td class=
"paramname"></td><td>)
</td>
286 <td><code> [read]
</code></td>
291 <p><a class=
"el" href=
"group___functions.html#ga75f83ac65ccbf57866d52d45cd5792e7" title=
"PP_MakeNull() is used to wrap a null value into a PP_Var struct for passing to the browser...">PP_MakeNull()
</a> is used to wrap a null value into a
<code><a class=
"el" href=
"struct_p_p___var.html" title=
"The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var
</a></code> struct for passing to the browser.
</p>
292 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___var.html" title=
"The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var
</a></code> structure,
</dd></dl>
295 <a class=
"anchor" id=
"gabd6bf83f4c787477631c37d44418c4db"></a><!-- doxytag: member="pp_completion_callback.h::PP_MakeOptionalCompletionCallback" ref="gabd6bf83f4c787477631c37d44418c4db" args="(PP_CompletionCallback_Func func, void *user_data)" -->
296 <div class=
"memitem">
297 <div class=
"memproto">
298 <table class=
"memname">
300 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___completion_callback.html">PP_CompletionCallback
</a> <a class=
"el" href=
"group___functions.html#gabd6bf83f4c787477631c37d44418c4db">PP_MakeOptionalCompletionCallback
</a> </td>
302 <td class=
"paramtype"><a class=
"el" href=
"group___typedefs.html#ga6fe12e1a41df5e10103a811036d4d8d2">PP_CompletionCallback_Func
</a> </td>
303 <td class=
"paramname"><em>func
</em>,
</td>
306 <td class=
"paramkey"></td>
308 <td class=
"paramtype">void *
 </td>
309 <td class=
"paramname"><em>user_data
</em> </td>
314 <td></td><td><code> [read]
</code></td>
319 <p><a class=
"el" href=
"group___functions.html#gabd6bf83f4c787477631c37d44418c4db" title=
"PP_MakeOptionalCompletionCallback() is used to create a PP_CompletionCallback with PP_COMPLETIONCALLB...">PP_MakeOptionalCompletionCallback()
</a> is used to create a
<a class=
"el" href=
"struct_p_p___completion_callback.html" title=
"PP_CompletionCallback is a common mechanism for supporting potentially asynchronous calls in browser ...">PP_CompletionCallback
</a> with PP_COMPLETIONCALLBACK_FLAG_OPTIONAL set.
</p>
320 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
321 <table class=
"params">
322 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">func
</td><td>A PP_CompletionCallback_Func to be called on completion.
</td></tr>
323 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">user_data
</td><td>A pointer to user data passed to be passed to the callback function. This is optional and is typically used to help track state in case of multiple pending callbacks.
</td></tr>
327 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<a class=
"el" href=
"struct_p_p___completion_callback.html" title=
"PP_CompletionCallback is a common mechanism for supporting potentially asynchronous calls in browser ...">PP_CompletionCallback
</a> structure.
</dd></dl>
330 <a class=
"anchor" id=
"ga15880e8085178758053cc521af33b250"></a><!-- doxytag: member="pp_point.h::PP_MakePoint" ref="ga15880e8085178758053cc521af33b250" args="(int32_t x, int32_t y)" -->
331 <div class=
"memitem">
332 <div class=
"memproto">
333 <table class=
"memname">
335 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___point.html">PP_Point
</a> <a class=
"el" href=
"group___functions.html#ga15880e8085178758053cc521af33b250">PP_MakePoint
</a> </td>
337 <td class=
"paramtype">int32_t
 </td>
338 <td class=
"paramname"><em>x
</em>,
</td>
341 <td class=
"paramkey"></td>
343 <td class=
"paramtype">int32_t
 </td>
344 <td class=
"paramname"><em>y
</em> </td>
349 <td></td><td><code> [read]
</code></td>
354 <p><a class=
"el" href=
"group___functions.html#ga15880e8085178758053cc521af33b250" title=
"PP_MakePoint() creates a PP_Point given the x and y coordinates as int32_t values.">PP_MakePoint()
</a> creates a
<code><a class=
"el" href=
"struct_p_p___point.html" title=
"The PP_Point structure defines the integer x and y coordinates of a point.">PP_Point
</a></code> given the x and y coordinates as int32_t values.
</p>
355 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
356 <table class=
"params">
357 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">x
</td><td>An int32_t value representing a horizontal coordinate of a point, starting with
0 as the left-most coordinate.
</td></tr>
358 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">y
</td><td>An int32_t value representing a vertical coordinate of a point, starting with
0 as the top-most coordinate.
</td></tr>
362 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___point.html" title=
"The PP_Point structure defines the integer x and y coordinates of a point.">PP_Point
</a></code> structure.
</dd></dl>
365 <a class=
"anchor" id=
"gaf868e2929269ef195241b79a015fcf61"></a><!-- doxytag: member="pp_rect.h::PP_MakeRectFromXYWH" ref="gaf868e2929269ef195241b79a015fcf61" args="(int32_t x, int32_t y, int32_t w, int32_t h)" -->
366 <div class=
"memitem">
367 <div class=
"memproto">
368 <table class=
"memname">
370 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___rect.html">PP_Rect
</a> <a class=
"el" href=
"group___functions.html#gaf868e2929269ef195241b79a015fcf61">PP_MakeRectFromXYWH
</a> </td>
372 <td class=
"paramtype">int32_t
 </td>
373 <td class=
"paramname"><em>x
</em>,
</td>
376 <td class=
"paramkey"></td>
378 <td class=
"paramtype">int32_t
 </td>
379 <td class=
"paramname"><em>y
</em>,
</td>
382 <td class=
"paramkey"></td>
384 <td class=
"paramtype">int32_t
 </td>
385 <td class=
"paramname"><em>w
</em>,
</td>
388 <td class=
"paramkey"></td>
390 <td class=
"paramtype">int32_t
 </td>
391 <td class=
"paramname"><em>h
</em> </td>
396 <td></td><td><code> [read]
</code></td>
401 <p><a class=
"el" href=
"group___functions.html#gaf868e2929269ef195241b79a015fcf61" title=
"PP_MakeRectFromXYWH() creates a PP_Rect given x and y coordinates and width and height dimensions as ...">PP_MakeRectFromXYWH()
</a> creates a
<code><a class=
"el" href=
"struct_p_p___rect.html" title=
"The PP_Rect struct contains the size and location of a 2D rectangle.">PP_Rect
</a></code> given x and y coordinates and width and height dimensions as int32_t values.
</p>
402 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
403 <table class=
"params">
404 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">x
</td><td>An int32_t value representing a horizontal coordinate of a point, starting with
0 as the left-most coordinate.
</td></tr>
405 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">y
</td><td>An int32_t value representing a vertical coordinate of a point, starting with
0 as the top-most coordinate.
</td></tr>
406 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">w
</td><td>An int32_t value representing a width.
</td></tr>
407 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">h
</td><td>An int32_t value representing a height.
</td></tr>
411 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___rect.html" title=
"The PP_Rect struct contains the size and location of a 2D rectangle.">PP_Rect
</a></code> structure.
</dd></dl>
414 <a class=
"anchor" id=
"ga35a97e64d18402d8feff46722b98beb0"></a><!-- doxytag: member="pp_size.h::PP_MakeSize" ref="ga35a97e64d18402d8feff46722b98beb0" args="(int32_t w, int32_t h)" -->
415 <div class=
"memitem">
416 <div class=
"memproto">
417 <table class=
"memname">
419 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___size.html">PP_Size
</a> <a class=
"el" href=
"group___functions.html#ga35a97e64d18402d8feff46722b98beb0">PP_MakeSize
</a> </td>
421 <td class=
"paramtype">int32_t
 </td>
422 <td class=
"paramname"><em>w
</em>,
</td>
425 <td class=
"paramkey"></td>
427 <td class=
"paramtype">int32_t
 </td>
428 <td class=
"paramname"><em>h
</em> </td>
433 <td></td><td><code> [read]
</code></td>
438 <p><a class=
"el" href=
"group___functions.html#ga35a97e64d18402d8feff46722b98beb0" title=
"PP_MakeSize() creates a PP_Size given a width and height as int32_t values.">PP_MakeSize()
</a> creates a
<code><a class=
"el" href=
"struct_p_p___size.html" title=
"The PP_Size struct contains the size of a 2D rectangle.">PP_Size
</a></code> given a width and height as int32_t values.
</p>
439 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
440 <table class=
"params">
441 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">w
</td><td>An int32_t value representing a width.
</td></tr>
442 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">h
</td><td>An int32_t value representing a height.
</td></tr>
446 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___size.html" title=
"The PP_Size struct contains the size of a 2D rectangle.">PP_Size
</a></code> structure.
</dd></dl>
449 <a class=
"anchor" id=
"gae7f6d41cbb173c12f474242c2a3bf5e7"></a><!-- doxytag: member="pp_touch_point.h::PP_MakeTouchPoint" ref="gae7f6d41cbb173c12f474242c2a3bf5e7" args="(void)" -->
450 <div class=
"memitem">
451 <div class=
"memproto">
452 <table class=
"memname">
454 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___touch_point.html">PP_TouchPoint
</a> <a class=
"el" href=
"group___functions.html#gae7f6d41cbb173c12f474242c2a3bf5e7">PP_MakeTouchPoint
</a> </td>
456 <td class=
"paramtype">void
 </td>
457 <td class=
"paramname"></td><td>)
</td>
458 <td><code> [read]
</code></td>
463 <p><a class=
"el" href=
"group___functions.html#gae7f6d41cbb173c12f474242c2a3bf5e7" title=
"PP_MakeTouchPoint() creates a PP_TouchPoint.">PP_MakeTouchPoint()
</a> creates a
<code><a class=
"el" href=
"struct_p_p___touch_point.html" title=
"The PP_TouchPoint struct represents all information about a single touch point, such as position...">PP_TouchPoint
</a></code>.
</p>
464 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___touch_point.html" title=
"The PP_TouchPoint struct represents all information about a single touch point, such as position...">PP_TouchPoint
</a></code> structure.
</dd></dl>
467 <a class=
"anchor" id=
"ga0edc8314fc1a92f93dd3d0eab286cb5d"></a><!-- doxytag: member="pp_var.h::PP_MakeUndefined" ref="ga0edc8314fc1a92f93dd3d0eab286cb5d" args="(void)" -->
468 <div class=
"memitem">
469 <div class=
"memproto">
470 <table class=
"memname">
472 <td class=
"memname">struct
<a class=
"el" href=
"struct_p_p___var.html">PP_Var
</a> <a class=
"el" href=
"group___functions.html#ga0edc8314fc1a92f93dd3d0eab286cb5d">PP_MakeUndefined
</a> </td>
474 <td class=
"paramtype">void
 </td>
475 <td class=
"paramname"></td><td>)
</td>
476 <td><code> [read]
</code></td>
481 <p><a class=
"el" href=
"group___functions.html#ga0edc8314fc1a92f93dd3d0eab286cb5d" title=
"PP_MakeUndefined() is used to wrap an undefined value into a PP_Var struct for passing to the browser...">PP_MakeUndefined()
</a> is used to wrap an undefined value into a
<code><a class=
"el" href=
"struct_p_p___var.html" title=
"The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var
</a></code> struct for passing to the browser.
</p>
482 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A
<code><a class=
"el" href=
"struct_p_p___var.html" title=
"The PP_VAR struct is a variant data type and can contain any value of one of the types named in the P...">PP_Var
</a></code> structure.
</dd></dl>
485 <a class=
"anchor" id=
"ga8dac45aa496bbb1f97a15e2833d3ed02"></a><!-- doxytag: member="pp_completion_callback.h::PP_RunAndClearCompletionCallback" ref="ga8dac45aa496bbb1f97a15e2833d3ed02" args="(struct PP_CompletionCallback *cc, int32_t res)" -->
486 <div class=
"memitem">
487 <div class=
"memproto">
488 <table class=
"memname">
490 <td class=
"memname">void
<a class=
"el" href=
"group___functions.html#ga8dac45aa496bbb1f97a15e2833d3ed02">PP_RunAndClearCompletionCallback
</a> </td>
492 <td class=
"paramtype">struct
<a class=
"el" href=
"struct_p_p___completion_callback.html">PP_CompletionCallback
</a> *
 </td>
493 <td class=
"paramname"><em>cc
</em>,
</td>
496 <td class=
"paramkey"></td>
498 <td class=
"paramtype">int32_t
 </td>
499 <td class=
"paramname"><em>res
</em> </td>
509 <p><a class=
"el" href=
"group___functions.html#ga8dac45aa496bbb1f97a15e2833d3ed02" title=
"PP_RunAndClearCompletionCallback() runs a callback and clears the reference to that callback...">PP_RunAndClearCompletionCallback()
</a> runs a callback and clears the reference to that callback.
</p>
510 <p>This function is used when the null-ness of a completion callback is used as a signal for whether a completion callback has been registered. In this case, after the execution of the callback, it should be cleared. However, this introduces a conflict if the completion callback wants to schedule more work that involves the same completion callback again (for example, when reading data from an URLLoader, one would typically queue up another read callback). As a result, this function clears the pointer before the provided callback is executed.
</p>
513 <a class=
"anchor" id=
"gaffce49266a735f9ee8d149b14477404f"></a><!-- doxytag: member="pp_completion_callback.h::PP_RunCompletionCallback" ref="gaffce49266a735f9ee8d149b14477404f" args="(struct PP_CompletionCallback *cc, int32_t result)" -->
514 <div class=
"memitem">
515 <div class=
"memproto">
516 <table class=
"memname">
518 <td class=
"memname">void
<a class=
"el" href=
"group___functions.html#gaffce49266a735f9ee8d149b14477404f">PP_RunCompletionCallback
</a> </td>
520 <td class=
"paramtype">struct
<a class=
"el" href=
"struct_p_p___completion_callback.html">PP_CompletionCallback
</a> *
 </td>
521 <td class=
"paramname"><em>cc
</em>,
</td>
524 <td class=
"paramkey"></td>
526 <td class=
"paramtype">int32_t
 </td>
527 <td class=
"paramname"><em>result
</em> </td>
537 <p><a class=
"el" href=
"group___functions.html#gaffce49266a735f9ee8d149b14477404f" title=
"PP_RunCompletionCallback() is used to run a callback.">PP_RunCompletionCallback()
</a> is used to run a callback.
</p>
538 <p>It invokes the callback function passing it user data specified on creation and completion |result|.
</p>
539 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
540 <table class=
"params">
541 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">cc
</td><td>A pointer to a
<code><a class=
"el" href=
"struct_p_p___completion_callback.html" title=
"PP_CompletionCallback is a common mechanism for supporting potentially asynchronous calls in browser ...">PP_CompletionCallback
</a></code> that will be run.
</td></tr>
542 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">result
</td><td>The result of the operation. Non-positive values correspond to the error codes from
<a class=
"el" href=
"pp__errors_8h.html" title=
"This file defines an enumeration of all PPAPI error codes.">pp_errors.h
</a> (excluding PP_OK_COMPLETIONPENDING). Positive values indicate additional information such as bytes read.
</td></tr>
548 <a class=
"anchor" id=
"ga4127b148b2bd0f3bc2c078dd38cbe4cf"></a><!-- doxytag: member="ppp.h::PPP_GetInterface" ref="ga4127b148b2bd0f3bc2c078dd38cbe4cf" args="(const char *interface_name)" -->
549 <div class=
"memitem">
550 <div class=
"memproto">
551 <table class=
"memname">
553 <td class=
"memname">const void*
<a class=
"el" href=
"group___functions.html#ga4127b148b2bd0f3bc2c078dd38cbe4cf">PPP_GetInterface
</a> </td>
555 <td class=
"paramtype">const char *
 </td>
556 <td class=
"paramname"><em>interface_name
</em></td><td>)
</td>
562 <p><a class=
"el" href=
"group___functions.html#ga4127b148b2bd0f3bc2c078dd38cbe4cf" title=
"PPP_GetInterface() is called by the browser to query the module for interfaces it supports...">PPP_GetInterface()
</a> is called by the browser to query the module for interfaces it supports.
</p>
563 <p>Your module must implement the
<code>PPP_Instance
</code> interface or it will be unloaded. Other interfaces are optional.
</p>
564 <p>This function is called from within browser code whenever an interface is needed. This means your plugin could be reentered via this function if you make a browser call and it needs an interface. Furthermore, you should not make any other browser calls from within your implementation to avoid reentering the browser.
</p>
565 <p>As a result, your implementation of this should merely provide a lookup from the requested name to an interface pointer, via something like a big if/else block or a map, and not do any other work.
</p>
566 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
567 <table class=
"params">
568 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">interface_name
</td><td>A pointer to a
"PPP" (plugin) interface name. Interface names are null-terminated ASCII strings.
</td></tr>
572 <dl class=
"return"><dt><b>Returns:
</b></dt><dd>A pointer for the interface or
<code>NULL
</code> if the interface is not supported.
</dd></dl>
575 <a class=
"anchor" id=
"ga2fc7b396531c19417d8d7171d56da8b6"></a><!-- doxytag: member="ppp.h::PPP_InitializeModule" ref="ga2fc7b396531c19417d8d7171d56da8b6" args="(PP_Module module, PPB_GetInterface get_browser_interface)" -->
576 <div class=
"memitem">
577 <div class=
"memproto">
578 <table class=
"memname">
580 <td class=
"memname">int32_t
<a class=
"el" href=
"group___functions.html#ga2fc7b396531c19417d8d7171d56da8b6">PPP_InitializeModule
</a> </td>
582 <td class=
"paramtype"><a class=
"el" href=
"group___typedefs.html#gab780dd451cd7f51284cb752edd88f9a0">PP_Module
</a> </td>
583 <td class=
"paramname"><em>module
</em>,
</td>
586 <td class=
"paramkey"></td>
588 <td class=
"paramtype"><a class=
"el" href=
"group___typedefs.html#ga68ad7c927b86e0c29d890603edd33154">PPB_GetInterface
</a> </td>
589 <td class=
"paramname"><em>get_browser_interface
</em> </td>
599 <p><a class=
"el" href=
"group___functions.html#ga2fc7b396531c19417d8d7171d56da8b6" title=
"PPP_InitializeModule() is the entry point for a module and is called by the browser when your module ...">PPP_InitializeModule()
</a> is the entry point for a module and is called by the browser when your module loads.
</p>
600 <p>Your code must implement this function.
</p>
601 <p>Failure indicates to the browser that this module can not be used. In this case, the module will be unloaded and ShutdownModule will NOT be called.
</p>
602 <dl class=
"params"><dt><b>Parameters:
</b></dt><dd>
603 <table class=
"params">
604 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">module
</td><td>A handle to your module. Generally you should store this value since it will be required for other API calls.
</td></tr>
605 <tr><td class=
"paramdir">[in]
</td><td class=
"paramname">get_browser_interface
</td><td>A pointer to the function that you can use to query for browser interfaces. Generally you should store this value for future use.
</td></tr>
609 <dl class=
"return"><dt><b>Returns:
</b></dt><dd><code>PP_OK
</code> on success. Any other value on failure.
</dd></dl>
612 <a class=
"anchor" id=
"gaa3021aba7ddc17a8cecb4bc4f8374e98"></a><!-- doxytag: member="ppp.h::PPP_ShutdownModule" ref="gaa3021aba7ddc17a8cecb4bc4f8374e98" args="(void)" -->
613 <div class=
"memitem">
614 <div class=
"memproto">
615 <table class=
"memname">
617 <td class=
"memname">void
<a class=
"el" href=
"group___functions.html#gaa3021aba7ddc17a8cecb4bc4f8374e98">PPP_ShutdownModule
</a> </td>
619 <td class=
"paramtype">void
 </td>
620 <td class=
"paramname"></td><td>)
</td>
626 <p><a class=
"el" href=
"group___functions.html#gaa3021aba7ddc17a8cecb4bc4f8374e98" title=
"PPP_ShutdownModule() is sometimes called before the module is unloaded.">PPP_ShutdownModule()
</a> is
<b>sometimes
</b> called before the module is unloaded.
</p>
627 <p>It is not recommended that you implement this function.
</p>
628 <p>There is no practical use of this function for third party modules. Its existence is because of some internal use cases inside Chrome.
</p>
629 <p>Since your module runs in a separate process, there's no need to free allocated memory. There is also no need to free any resources since all of resources associated with an instance will be force-freed when that instance is deleted.
</p>
630 <p><b>Note:
</b> This function will always be skipped on untrusted (Native Client) implementations. This function may be skipped on trusted implementations in certain circumstances when Chrome does
"fast shutdown" of a web page.
</p>
633 </div><!-- contents -->
635 {{/partials.standard_nacl_api}}