VCOM Linux Driver
Advantech Inc.
Loading...
Searching...
No Matches
overload.h
Go to the documentation of this file.
1#ifndef _OVERLOAD_H
2#define _OVERLOAD_H
3
4#define ovrld2(_1, _2, func,...) func
5#define ovrld3(_1, _2, _3, func,...) func
6
7/* how to make overlad functions
8 *
9 * #define func_with_3_overloading(args...) ovrld3(args, _internal_3_input_func,\
10 * _internal_2_input_func,\
11 * _internal_1_input_func)(args)
12 *
13 */
14
15#endif