// See: http://duktape.org/api.html#duk_push_boolean func (d *Context) PushBoolean(val bool) { var __val__ int if val { __val__ = 1 } C.duk_push_boolean(d.duk_context, C.duk_bool_t(__val__)) }
// See: http://duktape.org/api.html#duk_push_buffer func (d *Context) PushBuffer(size int, dynamic bool) { var __dynamic__ int if dynamic { __dynamic__ = 1 } C._duk_push_buffer(d.duk_context, C.duk_size_t(size), C.duk_bool_t(__dynamic__)) }
// See: http://duktape.org/api.html#duk_next func (d *Context) Next(enumIndex int, getValue bool) bool { var __getValue__ int if getValue { __getValue__ = 1 } return int(C.duk_next(d.duk_context, C.duk_idx_t(enumIndex), C.duk_bool_t(__getValue__))) == 1 }