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
9b0b40e0
Commit
9b0b40e0
authored
Dec 16, 2015
by
Wenzel Jakob
Browse files
add converter for nullptr_t
parent
5ef12190
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/pybind11/cast.h
include/pybind11/cast.h
+2
-2
No files found.
include/pybind11/cast.h
View file @
9b0b40e0
...
@@ -308,8 +308,8 @@ public:
...
@@ -308,8 +308,8 @@ public:
PYBIND11_TYPE_CASTER
(
void_type
,
"None"
);
PYBIND11_TYPE_CASTER
(
void_type
,
"None"
);
};
};
template
<
>
class
type_caster
<
void
>
:
public
type_caster
<
void_type
>
{
template
<
>
class
type_caster
<
void
>
:
public
type_caster
<
void_type
>
{
};
};
template
<
>
class
type_caster
<
std
::
nullptr_t
>
:
public
type_caster
<
void_type
>
{
};
template
<
>
class
type_caster
<
bool
>
{
template
<
>
class
type_caster
<
bool
>
{
public:
public:
...
...
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