Browse Source

Update API docs for buffer API call rename

v1.0-maintenance
Sami Vaarala 10 years ago
parent
commit
572acb2d52
  1. 4
      website/api/duk_is_dynamic_buffer.txt
  2. 4
      website/api/duk_is_fixed_buffer.txt

4
website/api/duk_is_dynamic.txt → website/api/duk_is_dynamic_buffer.txt

@ -1,5 +1,5 @@
=proto
duk_bool_t duk_is_dynamic(duk_context *ctx, duk_idx_t index);
duk_bool_t duk_is_dynamic_buffer(duk_context *ctx, duk_idx_t index);
=stack
[ ... val! ... ]
@ -10,7 +10,7 @@ otherwise returns 0. If <code>index</code> is invalid, also
returns 0.</p>
=example
if (duk_is_dynamic(ctx, -3)) {
if (duk_is_dynamic_buffer(ctx, -3)) {
/* ... */
}

4
website/api/duk_is_fixed.txt → website/api/duk_is_fixed_buffer.txt

@ -1,5 +1,5 @@
=proto
duk_bool_t duk_is_fixed(duk_context *ctx, duk_idx_t index);
duk_bool_t duk_is_fixed_buffer(duk_context *ctx, duk_idx_t index);
=stack
[ ... val! ... ]
@ -10,7 +10,7 @@ otherwise returns 0. If <code>index</code> is invalid, also
returns 0.</p>
=example
if (duk_is_fixed(ctx, -3)) {
if (duk_is_fixed_buffer(ctx, -3)) {
/* ... */
}
Loading…
Cancel
Save