mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
24 lines
662 B
Text
24 lines
662 B
Text
# @TEST-EXEC: unset ZEEK_DISABLE_ZEEKYGEN; zeek -b -X zeekygen.config %INPUT
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff autogen-reST-func-params.rst
|
|
|
|
# @TEST-START-FILE zeekygen.config
|
|
identifier test_func_params* autogen-reST-func-params.rst
|
|
# @TEST-END-FILE
|
|
|
|
## This is a global function declaration.
|
|
##
|
|
## i: First param.
|
|
## j: Second param.
|
|
##
|
|
## Returns: A string.
|
|
global test_func_params_func: function(i: int, j: int): string;
|
|
|
|
type test_func_params_rec: record {
|
|
## This is a record field function.
|
|
##
|
|
## i: First param.
|
|
## j: Second param.
|
|
##
|
|
## Returns: A string.
|
|
field_func: function(i: int, j: int): string;
|
|
};
|