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
b5a6cae5
Commit
b5a6cae5
authored
Dec 13, 2022
by
Ralf W. Grosse-Kunstleve
Committed by
Copybara-Service
Dec 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Internal change
PiperOrigin-RevId: 495002753
parent
d5d07895
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
pybind11_abseil/BUILD
+2
-2
pybind11_abseil/ok_status_singleton_py_extension_stub.cc
+0
-0
pybind11_abseil/status_py_extension_stub.cc
+8
-1
No files found.
pybind11_abseil/BUILD
View file @
b5a6cae5
...
...
@@ -46,7 +46,7 @@ cc_library(
cc_binary(
name = "ok_status_singleton.so",
srcs = ["ok_status_singleton_py
init_relative
.cc"],
srcs = ["ok_status_singleton_py
_extension_stub
.cc"],
linkshared = 1,
deps = [
":ok_status_singleton_pyinit_google3",
...
...
@@ -160,7 +160,7 @@ pybind_library(
cc_binary(
name = "status.so",
srcs = ["status_py
init_relative
.cc"],
srcs = ["status_py
_extension_stub
.cc"],
linkshared = 1,
deps = [
":status_pyinit_google3",
...
...
pybind11_abseil/ok_status_singleton_py
init_relative
.cc
→
pybind11_abseil/ok_status_singleton_py
_extension_stub
.cc
View file @
b5a6cae5
File moved
pybind11_abseil/status_py
init_relative
.cc
→
pybind11_abseil/status_py
_extension_stub
.cc
View file @
b5a6cae5
...
...
@@ -3,6 +3,13 @@
extern
"C"
PyObject
*
GooglePyInit_google3_third__party_pybind11__abseil_status
();
extern
"C"
PyObject
*
PyInit_status
()
{
// Required only for OSS, but also compatible with the Google toolchain.
#if defined(WIN32) || defined(_WIN32)
#define LOCALDEFINE_DLLEXPORT __declspec(dllexport)
#else
#define LOCALDEFINE_DLLEXPORT __attribute__((visibility("default")))
#endif
extern
"C"
LOCALDEFINE_DLLEXPORT
PyObject
*
PyInit_status
()
{
return
GooglePyInit_google3_third__party_pybind11__abseil_status
();
}
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