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.
 
 
 
 
 
 

17 lines
330 B

=proto
void duk_push_int(duk_context *ctx, int val);
=stack
[ ... ] -> [ ... val! ]
=summary
<p>Convert <tt>val</tt> to an IEEE double and push it to the stack.</p>
<p>This is a shorthand for calling
<tt><a href="#duk_push_number">duk_push_number(ctx, (double) val)</a></tt>.</p>
=example
duk_push_int(ctx, 123);
=tags
stack