chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adns wip
[chiark-tcl.git]
/
base
/
hook.c
diff --git
a/base/hook.c
b/base/hook.c
index 32c604f9101a5603fad7cadede960a026e59f68c..2d59baa5fce7581083a346abaeaec1872e6cb949 100644
(file)
--- a/
base/hook.c
+++ b/
base/hook.c
@@
-324,6
+324,12
@@
int do_hbytes_range(ClientData cd, Tcl_Interp *ip,
return TCL_OK;
}
return TCL_OK;
}
+int do_hbytes_mask_map(ClientData cd, Tcl_Interp *ip,
+ const MaskMap_SubCommand *subcmd,
+ int objc, Tcl_Obj *const *objv) {
+ return subcmd->func(0,ip,objc,objv);
+}
+
/* hbytes representing uint16_t's */
int do_hbytes_h2ushort(ClientData cd, Tcl_Interp *ip,
/* hbytes representing uint16_t's */
int do_hbytes_h2ushort(ClientData cd, Tcl_Interp *ip,
@@
-415,6
+421,7
@@
int Hbytes_Init(Tcl_Interp *ip) {
Tcl_RegisterObjType(&sockaddr_type);
Tcl_RegisterObjType(&tabledataid_nearlytype);
Tcl_RegisterObjType(&ulong_type);
Tcl_RegisterObjType(&sockaddr_type);
Tcl_RegisterObjType(&tabledataid_nearlytype);
Tcl_RegisterObjType(&ulong_type);
+ Tcl_RegisterObjType(&maskmap_type);
for (cmd=toplevel_commands;
cmd->name;
for (cmd=toplevel_commands;
cmd->name;