Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cffi
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
Container registry
Model registry
Operate
Environments
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
OpenVMS
Python
Modules
cffi
Commits
a55ba8973dc5
Commit
a55ba8973dc5
authored
12 years ago
by
Alex Gaynor
Browse files
Options
Downloads
Patches
Plain Diff
explanatory comment
parent
64a35d32512c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cffi/vengine_gen.py
+4
-1
4 additions, 1 deletion
cffi/vengine_gen.py
with
4 additions
and
1 deletion
cffi/vengine_gen.py
+
4
−
1
View file @
a55ba897
...
...
@@ -57,7 +57,10 @@
# the C compiler
self
.
_load
(
module
,
'
loading
'
)
# build the FFILibrary class and instance
# build the FFILibrary class and instance, this is a module subclass
# because modules are expected to have usually-constant-attributes and
# in PyPy this means the JIT is able to treat attributes as constant,
# which we want.
class
FFILibrary
(
types
.
ModuleType
):
_cffi_generic_module
=
module
_cffi_ffi
=
self
.
ffi
...
...
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