Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pybind11_abseil
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
pybind11_abseil
Commits
519fc543
Commit
519fc543
authored
Jan 04, 2022
by
Ken Oslund
Committed by
Copybara-Service
Jan 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Internal change
PiperOrigin-RevId: 419719478
parent
28f46a10
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
14 deletions
+1
-14
pybind11_abseil/BUILD
+0
-7
pybind11_abseil/absl_casters.h
+1
-1
pybind11_abseil/absl_numpy_span_caster.h
+0
-6
No files found.
pybind11_abseil/BUILD
View file @
519fc543
...
...
@@ -22,13 +22,6 @@ pybind_library(
],
)
pybind_library(
name = "absl_numpy_span_caster",
hdrs = ["absl_numpy_span_caster.h"],
deprecation = "Please use //pybind11_abseil:absl_casters.",
deps = [":absl_casters"],
)
cc_library(
name = "status_not_ok_exception",
hdrs = ["status_not_ok_exception.h"],
...
...
pybind11_abseil/absl_casters.h
View file @
519fc543
...
...
@@ -322,7 +322,7 @@ struct type_caster<absl::Span<T>> {
// the elements do not require converting and pointers do not reference a
// temporary object owned by the element caster. Pointers to converted
// types are not allowed because they would result a dangling reference
// when the element caster is destroyed.
TODO(b/169068487): improve this.
// when the element caster is destroyed.
if
(
convert
&&
std
::
is_const
<
T
>::
value
&&
(
!
std
::
is_pointer
<
T
>::
value
||
std
::
is_base_of
<
type_caster_generic
,
make_caster
<
T
>>::
value
))
{
...
...
pybind11_abseil/absl_numpy_span_caster.h
deleted
100644 → 0
View file @
28f46a10
#ifndef PYBIND11_ABSEIL_ABSL_NUMPY_SPAN_CASTER_H_
#define PYBIND11_ABSEIL_ABSL_NUMPY_SPAN_CASTER_H_
#include "pybind11_abseil/absl_casters.h"
#endif // PYBIND11_ABSEIL_ABSL_NUMPY_SPAN_CASTER_H_
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