mirror of
https://codeberg.org/scip/rpnc.git
synced 2025-12-17 12:31:04 +01:00
+TODOs
This commit is contained in:
@@ -34,7 +34,7 @@ Available operators:
|
|||||||
basic operators: + - * /
|
basic operators: + - * /
|
||||||
|
|
||||||
Math operators:
|
Math operators:
|
||||||
^ power`
|
^ power` // FIXME: add help strings from lua functions
|
||||||
|
|
||||||
// That way I can add custom functions to completion
|
// That way I can add custom functions to completion
|
||||||
func GetCompleteCustomFunctions() func(string) []string {
|
func GetCompleteCustomFunctions() func(string) []string {
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ var L *lua.LState
|
|||||||
|
|
||||||
var LuaFuncs map[string]int
|
var LuaFuncs map[string]int
|
||||||
|
|
||||||
|
// FIXME: add 2nd var with help string
|
||||||
// called from lua to register a 1 arg math function
|
// called from lua to register a 1 arg math function
|
||||||
func RegisterFuncOneArg(L *lua.LState) int {
|
func RegisterFuncOneArg(L *lua.LState) int {
|
||||||
function := L.ToString(1)
|
function := L.ToString(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user