From 572acb2d52a34a6b14127df2113e8dcd19259d27 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Thu, 9 Oct 2014 23:27:07 +0300 Subject: [PATCH] Update API docs for buffer API call rename --- website/api/{duk_is_dynamic.txt => duk_is_dynamic_buffer.txt} | 4 ++-- website/api/{duk_is_fixed.txt => duk_is_fixed_buffer.txt} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename website/api/{duk_is_dynamic.txt => duk_is_dynamic_buffer.txt} (68%) rename website/api/{duk_is_fixed.txt => duk_is_fixed_buffer.txt} (68%) diff --git a/website/api/duk_is_dynamic.txt b/website/api/duk_is_dynamic_buffer.txt similarity index 68% rename from website/api/duk_is_dynamic.txt rename to website/api/duk_is_dynamic_buffer.txt index 1135d835..528ce6cc 100644 --- a/website/api/duk_is_dynamic.txt +++ b/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 index is invalid, also returns 0.

=example -if (duk_is_dynamic(ctx, -3)) { +if (duk_is_dynamic_buffer(ctx, -3)) { /* ... */ } diff --git a/website/api/duk_is_fixed.txt b/website/api/duk_is_fixed_buffer.txt similarity index 68% rename from website/api/duk_is_fixed.txt rename to website/api/duk_is_fixed_buffer.txt index 67fea771..2eb99e86 100644 --- a/website/api/duk_is_fixed.txt +++ b/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 index is invalid, also returns 0.

=example -if (duk_is_fixed(ctx, -3)) { +if (duk_is_fixed_buffer(ctx, -3)) { /* ... */ }