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.
17 lines
288 B
17 lines
288 B
=proto
|
|
void duk_push_pointer(duk_context *ctx, void *p);
|
|
|
|
=stack
|
|
[ ... ] -> [ ... ptr! ]
|
|
|
|
=summary
|
|
<p>Push <tt>p</tt> into the stack as a pointer value. Duktape won't
|
|
interpret the pointer in any manner.</p>
|
|
|
|
=example
|
|
struct mystruct *p;
|
|
|
|
duk_push_pointer(ctx, (void *) p);
|
|
|
|
=tags
|
|
stack
|
|
|