rhai/examples/definitions/.rhai/defs.json

49 lines
1.1 KiB
JSON
Raw Normal View History

{
"modules": {
"general_kenobi": {
"functions": [
{
"baseHash": 727795846011184342,
"fullHash": 5101524478338862216,
"namespace": "internal",
"access": "public",
"name": "hello_there",
"type": "native",
"numParams": 1,
"params": [
{
"name": "n",
"type": "i64"
}
],
"returnType": "String",
"signature": "hello_there(n: i64) -> String",
"docComments": [
"/// Returns a string where \"hello there\" is repeated `n` times."
]
}
]
}
},
"functions": [
{
"baseHash": 17133166385977770750,
"fullHash": 11299449021188202345,
"namespace": "global",
"access": "public",
"name": "minus",
"type": "native",
"numParams": 2,
"params": [
{
"type": "i64"
},
{
"type": "i64"
}
],
"returnType": "i64",
"signature": "minus(_: i64, _: i64) -> i64"
}
]
}