Date: 15 Apr 2002 00:10:41 -0700 From: Max Okumoto <okumoto@ucsd.edu> To: freebsd-libh@FreeBSD.ORG Subject: More stuff for HACKERS Message-ID: <hflmbp5te6.fsf@multivac.sdsc.edu>
next in thread | raw e-mail | index | archive | help
* 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hflmbp5te6.fsf>