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