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.
 
 
 
 
 
 

20 lines
323 B

=proto
void duk_push_pointer(duk_context *ctx, void *p);
=stack
[ ... ] -> [ ... ptr! ]
=summary
<p>Push <code>p</code> 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
=introduced
1.0.0