From 7cbae7037a319d43cee0cd6a35cef7b97026f21f Mon Sep 17 00:00:00 2001 From: arno Date: Fri, 28 Jul 2000 18:18:51 +0000 Subject: [PATCH] * TODO: Updates. --- TODO | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) diff --git a/TODO b/TODO index 02b179ffb..e2a7b5ee1 100644 --- a/TODO +++ b/TODO @@ -33,10 +33,6 @@ most appealing. Refactorings ------------ -Separate out circuit builder from the analysis code and put it in the -devices directory (rename devices directory to simbuilder at some -point). [PARTIAL] - Netlist parsing. The circuit directory currrently has definitions for parsing one model line per device. Get this generalized into a structure that codifies the changes between the devices. At a later @@ -56,33 +52,7 @@ Move frontend helper functions into frontend directory as well. Not all files that define commands, start with com_*; fix that. Make devices dynamically loadable. Perhaps use framework from glib -(http://developer.gnome.org/doc/API/glib/index.html). As a first -step, replace everywhere in the code the following snippet -==================================================================== - int i; - - for (i = 0; i < DEVmaxnum; i++) { - ... - DEVices[i].xxx ...; - ... - } -==================================================================== -by -==================================================================== - SPICEdev **dev; - - for (dev = first_device(); dev != NULL; dev = next_device(dev)) { - ... - *dev->xxx ...; - ... - } -==================================================================== -Note: the double indirection is currently necessary. Once we get a -linked list implementation, we can do a global search and replace on - - *dev => dev - -And let the compiler find the rest of the type mismatches. +(http://developer.gnome.org/doc/API/glib/index.html). Testability