name: duk_push_pointer proto: | void duk_push_pointer(duk_context *ctx, void *p); stack: | [ ... ] -> [ ... ptr! ] summary: |

Push p into the stack as a pointer value. Duktape won't interpret the pointer in any manner.

example: | struct mystruct *p = /* ... */; duk_push_pointer(ctx, (void *) p); tags: - stack introduced: 1.0.0