From 3aa67a91e55b238bb4debe2f72013656036bf6a2 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Tue, 8 Jul 2003 01:13:43 +0000 Subject: [PATCH] Documents branch object. Uses client socket descriptor for document Socket class. --- exec/jsdocs.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/exec/jsdocs.js b/exec/jsdocs.js index 288e819153..f5edd3110d 100644 --- a/exec/jsdocs.js +++ b/exec/jsdocs.js @@ -222,6 +222,7 @@ writeln("<tr><td>" + "errno".bold() + "<td>number<td>last system error number</t writeln("<tr><td>" + "errno_str".bold() + "<td>string<td>description of last system error</td>"); f.writeln("</ul>"); +document_object("branch" ,branch); document_object("system" ,system); document_object("server" ,server); document_object("client" ,client); @@ -232,8 +233,10 @@ document_object("msg_area" ,msg_area); document_object("file_area" ,file_area); document_object("xtrn_area" ,xtrn_area); document_object("MsgBase" ,new MsgBase(msg_area.grp_list[0].sub_list[0].code), "class"); -document_object("File" ,new File("bogusfile"), "class"); -document_object("Socket" ,new Socket(), "class"); +document_object("File" ,new File(system.devnull), "class"); +sock=new Socket(); +sock.descriptor=client.socket.descriptor; +document_object("Socket" ,sock, "class"); f.writeln("</ol>"); -- GitLab