summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@markovcorp.com>2018-03-19 10:53:23 -0700
committerOri Bernstein <ori@markovcorp.com>2018-03-19 10:53:23 -0700
commit1ab372d81699731afbc12230b6ffcc5dfb897356 (patch)
treed7117e6f02fb0e01ecf2dd7744e588e41ee4d92b
parent2f3eb31cc305707dd39f3815ed7fc6243b5933de (diff)
downloadlibxmyrb-1ab372d81699731afbc12230b6ffcc5dfb897356.tar.gz
Make pack/unpack package-local.
-rwxr-xr-xgen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gen.py b/gen.py
index 43a48bb..d4c6c66 100755
--- a/gen.py
+++ b/gen.py
@@ -332,8 +332,8 @@ def genstruct(name, selt, isreq=False, isresp=False, isevent=False):
writeln(iface, ';;')
writeln(iface, '')
- writeln(iface, 'const pack{}{} : (c : display#, val : {}{}# -> void)', sname, suff, sname, suff)
- writeln(iface, 'const unpack{}{} : (c : display#, val : {}{}# -> void)', sname, suff, sname, suff)
+ writeln(iface, 'pkglocal const pack{}{} : (c : display#, val : {}{}# -> void)', sname, suff, sname, suff)
+ writeln(iface, 'pkglocal const unpack{}{} : (c : display#, val : {}{}# -> void)', sname, suff, sname, suff)
writeln(iface, '')
# generate pack