MCPcopy Index your code
hub / github.com/Shopify/go-lua / PushNumber

Method PushNumber

lua.go:1437–1437  ·  view source on GitHub ↗

PushNumber pushes a number onto the stack. http://www.lua.org/manual/5.2/manual.html#lua_pushnumber

(n float64)

Source from the content-addressed store, hash-verified

1435//
1436// http://www.lua.org/manual/5.2/manual.html#lua_pushnumber
1437func (l *State) PushNumber(n float64) { l.apiPush(n) }
1438
1439// PushInteger pushes n onto the stack.
1440//

Callers 11

ExampleFunctionFunction · 0.80
clockFunction · 0.80
base.goFile · 0.80
readNumberFunction · 0.80
io.goFile · 0.80
mathUnaryOpFunction · 0.80
mathBinaryOpFunction · 0.80
reduceFunction · 0.80
math.goFile · 0.80
MathOpenFunction · 0.80
os.goFile · 0.80

Calls 1

apiPushMethod · 0.95

Tested by 1

ExampleFunctionFunction · 0.64