-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathparameters.h
82 lines (56 loc) · 1.94 KB
/
parameters.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// SPDX-FileCopyrightText: 2024 Johann Klähn <[email protected]>
//
// SPDX-License-Identifier: MIT
#pragma once
#include <genpybind/genpybind.h>
GENPYBIND(visible)
void parameter_names(bool are, int part, unsigned of, double the_signature);
GENPYBIND(visible)
void missing_names(bool, bool not_a, bool, bool problem);
GENPYBIND(visible)
int return_second(int first, int second);
struct GENPYBIND(visible) Example {
Example() = default;
Example(bool also, bool here);
void method(bool it, bool works) const;
};
struct GENPYBIND(visible) TakesPointers {
void accepts_none(Example *example);
GENPYBIND(required(example))
void required(Example *example);
GENPYBIND(required(second))
void required_second(Example *first, Example *second);
GENPYBIND(required(first, second))
void required_both(Example *first, Example *second);
};
GENPYBIND(visible)
void accepts_none(Example *example);
GENPYBIND(required(example))
void required(Example *example);
GENPYBIND(required(second))
void required_second(Example *first, Example *second);
GENPYBIND(required(first, second))
void required_both(Example *first, Example *second);
struct GENPYBIND(visible) TakesDouble {
bool overload_is_double(int value) const;
bool overload_is_double(double value) const;
double normal(double value) const;
GENPYBIND(noconvert(value))
double noconvert(double value) const;
GENPYBIND(noconvert(second))
double noconvert_second(double first, double second) const;
GENPYBIND(noconvert(first, second))
double noconvert_both(double first, double second) const;
};
GENPYBIND(visible)
bool overload_is_double(int value);
GENPYBIND(visible)
bool overload_is_double(double value);
GENPYBIND(visible)
double normal(double value);
GENPYBIND(noconvert(value))
double noconvert(double value);
GENPYBIND(noconvert(second))
double noconvert_second(double first, double second);
GENPYBIND(noconvert(first, second))
double noconvert_both(double first, double second);