Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.io.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.io.base
Commits
aa3e3301
Commit
aa3e3301
authored
11 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Remove traces of PyBlitzArray_API
parent
ed5acf99
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/xbob.blitz
+1
-1
1 addition, 1 deletion
src/xbob.blitz
xbob/io/include/xbob.io/api.h
+3
-3
3 additions, 3 deletions
xbob/io/include/xbob.io/api.h
with
4 additions
and
4 deletions
xbob.blitz
@
29f57706
Compare
c8c5a151
...
29f57706
Subproject commit
c8c5a15149af4fd3a33b53cf377402af660d5f9f
Subproject commit
29f577060a8b7b9bac6ef9655da374d0cef99e07
This diff is collapsed.
Click to expand it.
xbob/io/include/xbob.io/api.h
+
3
−
3
View file @
aa3e3301
...
...
@@ -290,19 +290,19 @@ typedef struct {
# if PY_VERSION_HEX >= 0x02070000
if
(
PyCapsule_CheckExact
(
c_api_object
))
{
Py
BlitzArray
_API
=
(
void
**
)
PyCapsule_GetPointer
(
c_api_object
,
Py
XbobIo
_API
=
(
void
**
)
PyCapsule_GetPointer
(
c_api_object
,
PyCapsule_GetName
(
c_api_object
));
}
# else
if
(
PyCObject_Check
(
c_api_object
))
{
PyBlitzArray
_API
=
(
void
**
)
PyCObject_AsVoidPtr
(
c_api_object
);
XbobIo
_API
=
(
void
**
)
PyCObject_AsVoidPtr
(
c_api_object
);
}
# endif
Py_DECREF
(
c_api_object
);
Py_DECREF
(
module
);
if
(
!
PyBlitzArray
_API
)
{
if
(
!
XbobIo
_API
)
{
PyErr_Format
(
PyExc_ImportError
,
# if PY_VERSION_HEX >= 0x02070000
"cannot find C/C++ API capsule at `%s.%s'"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment