rhai/examples/definitions/.rhai/defs.json
2022-08-24 21:58:08 +08:00

49 lines
1.1 KiB
JSON

{
"modules": {
"general_kenobi": {
"functions": [
{
"baseHash": 14798413363692662073,
"fullHash": 2039416761244929762,
"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": 17487674894006547092,
"fullHash": 13058993152904417424,
"namespace": "global",
"access": "public",
"name": "minus",
"type": "native",
"numParams": 2,
"params": [
{
"type": "i64"
},
{
"type": "i64"
}
],
"returnType": "i64",
"signature": "minus(_: i64, _: i64) -> i64"
}
]
}