chiark / gitweb /
linda is obsolete
[chiark-tcl.git] / dgram / hook.c
index 55b2672..071d4ee 100644 (file)
@@ -17,5 +17,7 @@
  * 02110-1301, USA.
  */
 
+#include "dgram.h"
 
-  Tcl_RegisterObjType(&sockaddr_type);
+CHT_INIT(dgram, CHTI_TYPE(sockaddr_type),
+        CHTI_COMMANDS(cht_dgramsockettoplevel_entries))