From owner-freebsd-libh Mon Apr 15 0:10:47 2002 Delivered-To: freebsd-libh@freebsd.org Received: from postal.sdsc.edu (postal.sdsc.edu [132.249.20.114]) by hub.freebsd.org (Postfix) with ESMTP id 6E86A37B419 for ; Mon, 15 Apr 2002 00:10:42 -0700 (PDT) Received: from multivac.sdsc.edu (multivac.sdsc.edu [132.249.20.57]) by postal.sdsc.edu (8.11.6/8.11.6/server/36) with ESMTP id g3F7Af729328; Mon, 15 Apr 2002 00:10:42 -0700 (PDT) Received: by multivac (8.11.6+Sun/1.11-SolarisClient) id g3F7AfR26876; Mon, 15 Apr 2002 00:10:41 -0700 (PDT) To: freebsd-libh@FreeBSD.ORG Subject: More stuff for HACKERS From: Max Okumoto Date: 15 Apr 2002 00:10:41 -0700 Message-ID: Lines: 41 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * More decode libh internals. Index: HACKERS =================================================================== RCS file: /home/libh/cvs/libh/HACKERS,v retrieving revision 1.1 diff -u -r1.1 HACKERS --- HACKERS 2002/04/11 23:33:32 1.1 +++ HACKERS 2002/04/15 05:22:59 @@ -21,6 +21,30 @@ Assuming your new libh subsystem is called dance; +You need to create the atleast the following files + lib/dance/Dance.cc + This file contains the actual functionality of the subsystem. + + lib/dance/libhDance_init.cc + This file contains code used to initialize the subsytem. + [Can someone confirm this?] + + lib/tcl/LibHTclInit_Dance.cc + This file contains code used to register the subsystems + commands with the tcl interpreter. (it calls + register_command_access_tcl() in LibTclInterface_dance.cc) + + lib/dance/Dance.cd.cc + This file contains a description of the tcl<->libh interface. + [Can someone fill in a short desc about the format of this + file?] + + The perl script find_classes_descriptions.pl proccess this + file to create build_systems_disk.cc That file is linked + with tcl_interface_gen.cc to create the executable + tcl_interface_gen_dance. Which in turn generates + LibTclInterface_dance.cc + bin/tclh/tclh.cc Update H_Tcl_AppInit() to add tcl bindings for your library. (Note: this is only required if the library To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message