Skip to content

torchbear bindings module map #7

@naturallymitchell

Description

@naturallymitchell

(related to #4)

functions and their arguments, eg:

  • module.set("to_camel_case", lua.createfunction(|, text: String| {...
  • module.set("to_table", lua.create_function(|lua, text: String| {...

these functions exist and they take strings named 'text'

  • module.set("match", lua.create_function(|_, (expr, val): (String, String)|
  • module.set("replace_all", lua.create_function(|_, (expr, val, patt): (String, String, String)| {

these have two and three arguments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions