Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
autopybind11
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Joe Snyder
autopybind11
Commits
67ffcb5d
Commit
67ffcb5d
authored
4 years ago
by
John Parent
Browse files
Options
Downloads
Patches
Plain Diff
Code cleanup
parent
e3d98b3b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
autopybind11/__main__.py
+0
-3
0 additions, 3 deletions
autopybind11/__main__.py
with
0 additions
and
3 deletions
autopybind11/__main__.py
+
0
−
3
View file @
67ffcb5d
...
...
@@ -461,7 +461,6 @@ class BindingsGenerator:
def
fetch_templated_class_types
(
self
,
class_inst
):
name_str
=
class_inst
.
name
# import pdb; pdb.set_trace()
# Evaluate yaml custom name input string, either lambda function or list of custom names
t_type
=
re
.
search
(
"
<.+?>
"
,
name_str
).
group
()
# Handle double templates, by breaking into a list
...
...
@@ -858,7 +857,6 @@ class BindingsGenerator:
:param class_data: A yaml Python dict of class data read in from wrapper_input under a
'
class
'
header
:return: None
"""
# import pdb; pdb.set_trace()
skip_write_flag
=
False
if
cpp_class_name
in
self
.
skip_list
:
skip_write_flag
=
True
...
...
@@ -908,7 +906,6 @@ class BindingsGenerator:
# Get the arguments to the py::class_<>() call
# The first of which is the class name
pyclass_args
=
instance_data
.
decl_string
# import pdb; pdb.set_trace()
# Next any super classes
# if desired name added as guard
# Essentially, prevents typedefs from adding parent classes.
...
...
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