![João Valverde](/assets/img/avatar_default.png)
Changes the function calling convention to pass the first register number plus the number of registers after that sequentially. This allows function with any number of arguments. Functions can still only return one value. Adds max() and min() function to select the maximum/minimum value from any number of arguments, all of the same type. The functions accept literals too. The return type is the same as the first argument (cannot be a literal).
21 lines
347 B
C
21 lines
347 B
C
/** @file
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 2001 Gerald Combs
|
|
*
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef STTYPE_POINTER_H
|
|
#define STTYPE_POINTER_H
|
|
|
|
#include "dfilter-int.h"
|
|
#include <epan/ftypes/ftypes.h>
|
|
|
|
ftenum_t
|
|
sttype_pointer_ftenum(stnode_t *node);
|
|
|
|
#endif
|