Freeciv-3.3: luascript_func Struct Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Data Fields
luascript_func Struct Reference

## Data Fields

bool | required
int | nargs
int | nreturns
enum api_types * | arg_types
enum api_types * | return_types

## Detailed Description

Definition at line 39 of file luascript_func.c.

## Field Documentation

## ◆ arg_types

enum api_types* luascript_func::arg_types

Definition at line 43 of file luascript_func.c.

## ◆ nargs

int luascript_func::nargs

Definition at line 41 of file luascript_func.c.

Referenced by func_new(), luascript_func_add(), and luascript_func_add_valist().

## ◆ nreturns

int luascript_func::nreturns

Definition at line 42 of file luascript_func.c.

Referenced by func_new(), luascript_func_add(), and luascript_func_add_valist().

## ◆ required

bool luascript_func::required

Definition at line 40 of file luascript_func.c.

Referenced by func_new(), luascript_func_add(), and luascript_func_add_valist().

## ◆ return_types

enum api_types* luascript_func::return_types

Definition at line 44 of file luascript_func.c.