FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java-native/Foo/java/foo.i at main · Mizux/java-native · GitHub
Mizux
/
java-native
Public template
Notifications
You must be signed in to change notification settings
Fork
3
Star
3
Code
Issues
0
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
java-native
/
Foo
/
java
/
foo.i
Copy path
More file actions
More file actions
Latest commit
History
History
History
60 lines (44 loc) · 1.67 KB
Breadcrumbs
java-native
/
Foo
/
java
/
foo.i
Copy path
File metadata and controls
60 lines (44 loc) · 1.67 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
%
module
Globals
%include
"
std_vector.i
"
%include
"
std_string.i
"
%include
"
std_pair.i
"
%include
"
base.i
"
%
template
(StringVector) std::vector<std::string>;
%
template
(StringJaggedArray) std::vector<std::vector<std::string>>;
%
template
(IntPair) std::pair<
int
,
int
>;
%
template
(PairVector) std::vector<std::pair<
int
,
int
>>;
%
template
(PairJaggedArray) std::vector<std::vector<std::pair<
int
,
int
>>>;
//
Add necessary symbols to generated header
%{
#
include
<
foo/Foo.hpp
>
%}
%ignore
"
"
;
%define %unignore %rename(
"
%s
"
) %enddef
%unignore foo;
namespace
foo
{
%unignore
stringVectorOutput
(
int
);
%unignore
stringVectorInput
(std::vector<std::string>);
%unignore
stringVectorRefInput
(
const
std::vector<std::string>&);
%unignore
stringJaggedArrayOutput
(
int
);
%unignore
stringJaggedArrayInput
(std::vector<std::vector<std::string>>);
%unignore
stringJaggedArrayRefInput
(
const
std::vector<std::vector<std::string>>&);
%unignore
pairVectorOutput
(
int
);
%unignore
pairVectorInput
(std::vector<std::pair<
int
,
int
>>);
%unignore
pairVectorRefInput
(
const
std::vector<std::pair<
int
,
int
>>&);
%unignore
pairJaggedArrayOutput
(
int
);
%unignore
pairJaggedArrayInput
(std::vector<std::vector<std::pair<
int
,
int
>>>);
%unignore
pairJaggedArrayRefInput
(
const
std::vector<std::vector<std::pair<
int
,
int
>>>&);
%unignore
freeFunction
(
int
);
%unignore
freeFunction
(
int64_t
);
%unignore Foo;
%unignore
Foo::staticFunction
(
int
);
%unignore
Foo::staticFunction
(
int64_t
);
%unignore
Foo::getInt
()
const
;
%unignore
Foo::setInt
(
int
);
%unignore
Foo::getInt64
()
const
;
%unignore
Foo::setInt64
(
int64_t
);
%rename (
"
toString
"
) Foo::
operator
();
}
//
namespace foo
//
Process symbols in header
%include
"
foo/Foo.hpp
"
%unignore
"
"
;
//
unignore all
Back
|
FazBrowse Home
|
New Git URL