Paul Batchelorimporta901d566 years agoHistory
26 lines · 535 B · Lua
RawDownload
sptbl["gen_rand"] = {     files = {        module = "ftbl.c",        header = "ftbl.h",        example = "ex_gen_rand.c",    },     func = {        name = "sp_gen_rand",    },     params = {        {            name = "argstring",            type = "char *",            description = [[A string of value pairs. The first value is the value, then the probability.]],            default = "1 0.5 2 0.5"        },    },     modtype = "gen",     description = [[Generates a user defined random number distribution.]], }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t