Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
fb0e2e5d
Commit
fb0e2e5d
authored
Jul 01, 2016
by
Wenzel Jakob
Browse files
minor formatting fix
parent
d7e208c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
example/issues.cpp
example/issues.cpp
+4
-4
No files found.
example/issues.cpp
View file @
fb0e2e5d
...
@@ -126,11 +126,11 @@ void init_issues(py::module &m) {
...
@@ -126,11 +126,11 @@ void init_issues(py::module &m) {
auto
call_f
=
[](
A
*
a
)
{
a
->
f
();
};
auto
call_f
=
[](
A
*
a
)
{
a
->
f
();
};
pybind11
::
class_
<
A
,
std
::
unique_ptr
<
A
>
,
PyA
>
(
m2
,
"A"
)
pybind11
::
class_
<
A
,
std
::
unique_ptr
<
A
>
,
PyA
>
(
m2
,
"A"
)
.
def
(
py
::
init
<>
())
.
def
(
py
::
init
<>
())
.
def
(
"f"
,
&
A
::
f
);
.
def
(
"f"
,
&
A
::
f
);
m2
.
def
(
"call_f"
,
call_f
);
m2
.
def
(
"call_f"
,
call_f
);
try
{
try
{
py
::
class_
<
Placeholder
>
(
m2
,
"Placeholder"
);
py
::
class_
<
Placeholder
>
(
m2
,
"Placeholder"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment