mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
319 B
16 lines
319 B
name: duk_get_top
|
|
|
|
proto: |
|
|
duk_idx_t duk_get_top(duk_context *ctx);
|
|
|
|
summary: |
|
|
<p>Get current stack top (>= 0), indicating the number of values currently on
|
|
the value stack (of the current activation).</p>
|
|
|
|
example: |
|
|
printf("stack top is %ld\n", (long) duk_get_top(ctx));
|
|
|
|
tags:
|
|
- stack
|
|
|
|
introduced: 1.0.0
|
|
|