Exemple #1
0
func (cs ContextScope) NewInteger(value int64) *Value {
	return newValue(C.V8_NewNumber(
		cs.context.self, C.double(value),
	))
}
Exemple #2
0
func (engine_ *Engine) NewInteger(value int64) *Value {
	return NewValue(engine_, C.V8_NewNumber(engine_.self, C.double(value)))
}
Exemple #3
0
func (e *Engine) NewInteger(value int64) *Value {
	return newValue(e, C.V8_NewNumber(
		e.self, C.double(value),
	))
}