Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vmspython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
vmspython
Commits
c769efae9084
Commit
c769efae9084
authored
2 years ago
by
jfp
Browse files
Options
Downloads
Patches
Plain Diff
Blue, ruff
parent
f6848b135758
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/local/ovms_module/ovms/rtl/fdl/__init__.py
+0
-1
0 additions, 1 deletion
python/local/ovms_module/ovms/rtl/fdl/__init__.py
python/local/ovms_module/ovms/rtl/fdl/_vmsfdl.pyi
+16
-7
16 additions, 7 deletions
python/local/ovms_module/ovms/rtl/fdl/_vmsfdl.pyi
with
16 additions
and
8 deletions
python/local/ovms_module/ovms/rtl/fdl/__init__.py
+
0
−
1
View file @
c769efae
import
sys
from
._vmsfdl
import
*
__version__
=
'
1.0
'
This diff is collapsed.
Click to expand it.
python/local/ovms_module/ovms/rtl/fdl/_vmsfdl.pyi
+
16
−
7
View file @
c769efae
from
typing
import
Tuple
def
create
(
fdl_desc
:
bytes
|
str
,
file_name
:
bytes
|
str
|
None
=
None
,
default_name
:
bytes
|
str
|
None
=
None
,
flags
:
int
=
0
,
default_fdl
:
bytes
|
str
|
None
=
None
def
create
(
fdl_desc
:
bytes
|
str
,
file_name
:
bytes
|
str
|
None
=
None
,
default_name
:
bytes
|
str
|
None
=
None
,
flags
:
int
=
0
,
default_fdl
:
bytes
|
str
|
None
=
None
,
)
->
Tuple
[
int
,
bytes
,
int
,
int
]:
...
...
@@ -5,4 +9,5 @@
)
->
Tuple
[
int
,
bytes
,
int
,
int
]:
"""
status, resultant_string, sts, stv = fdl_create(fdl_name[, file_name] [, default_name] [, flags] [, default_fdl])
"""
"""
status, resultant_string, sts, stv = fdl_create(fdl_name
\
[, file_name] [, default_name] [, flags] [, default_fdl])
"""
...
...
...
@@ -7,7 +12,12 @@
...
def
parse
(
fdl_desc
:
bytes
|
str
,
flags
:
int
=
0
,
default_fdl
:
bytes
|
str
|
None
=
None
)
->
Tuple
[
int
,
int
,
int
]:
"
status, fab_pointer, rab_pointer = fdl_parse(fdl_desc [,flags] [,default_fdl_desc]
"
def
parse
(
fdl_desc
:
bytes
|
str
,
flags
:
int
=
0
,
default_fdl
:
bytes
|
str
|
None
=
None
,
)
->
Tuple
[
int
,
int
,
int
]:
'
status, fab_pointer, rab_pointer = fdl_parse(fdl_desc [,flags]
\
[,default_fdl_desc]
'
...
def
release
(
fab_pointer
:
int
,
rab_pointer
:
int
,
flags
:
int
=
0
)
->
int
:
...
...
@@ -11,5 +21,5 @@
...
def
release
(
fab_pointer
:
int
,
rab_pointer
:
int
,
flags
:
int
=
0
)
->
int
:
"
status = fdl_release(fab_pointer, rab_pointer [,flags=0)
"
"
""
status = fdl_release(fab_pointer, rab_pointer [,flags=0)
"
""
...
...
...
@@ -15,2 +25,1 @@
...
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