View definition

(*State).PushFString

Defined in github.com/Shopify/go-lua/lua.go

Description

PushFString pushes onto the stack a formatted string and returns that string. It is similar to fmt.Sprintf, but has some differences: the conversion specifiers are quite restricted. There are no flags, widths, or precisions. The conversion specifiers can only be %% (inserts a % in the string), %s, %f (a Lua number), %p (a pointer as a hexadecimal numeral), %d and %c (an integer as a byte).

http://www.lua.org/manual/5.2/manual.html#lua_pushfstring

PushFString is referenced in 1 repository

github.com/Shopify/go-lua