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.
21 lines
417 B
21 lines
417 B
name: duk_push_uint
|
|
|
|
proto: |
|
|
void duk_push_uint(duk_context *ctx, duk_uint_t val);
|
|
|
|
stack: |
|
|
[ ... ] -> [ ... val! ]
|
|
|
|
summary: |
|
|
<p>Convert <code>val</code> to an IEEE double and push it to the stack.</p>
|
|
|
|
<p>This is a shorthand for calling
|
|
<code><a href="#duk_push_number">duk_push_number(ctx, (duk_double_t) val)</a></code>.</p>
|
|
|
|
example: |
|
|
duk_push_uint(ctx, 123);
|
|
|
|
tags:
|
|
- stack
|
|
|
|
introduced: 1.0.0
|
|
|