Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
16ae07b7
Commit
16ae07b7
authored
Mar 06, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish some whitespace in the emitted vcc_if.[ch] files
parent
4a6430bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
vmodtool.py
lib/libvcl/vmodtool.py
+5
-2
No files found.
lib/libvcl/vmodtool.py
View file @
16ae07b7
...
...
@@ -117,12 +117,15 @@ class vmod(object):
def
c_proto
(
self
,
fo
):
for
o
in
self
.
objs
:
o
.
c_proto
(
fo
)
fo
.
write
(
"
\n
"
)
for
f
in
self
.
funcs
:
f
.
c_proto
(
fo
)
if
self
.
init
!=
None
:
fo
.
write
(
"
\n
"
)
fo
.
write
(
"int "
+
self
.
init
)
fo
.
write
(
"(struct vmod_priv *, const struct VCL_conf *);
\n
"
)
fo
.
write
(
"
\n
"
)
fo
.
write
(
"extern const void * const Vmod_Id;
\n
"
)
def
c_typedefs_
(
self
):
...
...
@@ -130,10 +133,11 @@ class vmod(object):
for
o
in
self
.
objs
:
for
t
in
o
.
c_typedefs
(
self
.
nam
):
l
.
append
(
t
)
l
.
append
(
""
)
l
.
append
(
""
)
l
.
append
(
"/* Functions */"
)
for
f
in
self
.
funcs
:
l
.
append
(
f
.
c_typedef
(
self
.
nam
))
l
.
append
(
""
)
return
l
def
c_typedefs
(
self
,
fo
):
...
...
@@ -530,7 +534,6 @@ fc.write("""#include "config.h"
"""
)
vmod
.
c_typedefs
(
fc
)
fc
.
write
(
"
\n
"
)
vmod
.
c_vmod
(
fc
)
fc
.
close
()
...
...
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