NewInt64 returns a int64 value with given int64.
(v int64)
| 319 | |
| 320 | // NewInt64 returns a int64 value with given int64. |
| 321 | func (ctx *Context) NewInt64(v int64) *Value { |
| 322 | return &Value{ctx: ctx, ref: C.JS_NewInt64(ctx.ref, C.int64_t(v))} |
| 323 | } |
| 324 | |
| 325 | // Int64 returns a int64 value with given int64. |
| 326 | // Deprecated: Use NewInt64() instead. |
no outgoing calls