<div dir="ltr"><div class="gmail_quote">On Tue, Sep 16, 2008 at 7:20 AM, Ian Eslick <span dir="ltr"><<a href="mailto:eslick@media.mit.edu">eslick@media.mit.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
There is an :inherit slot keyword option for indexed slots.  It causes subclasses of the defining class to share the index of the base class.  You can inhibit subclass sharing by re-defining the slot in the base class.  I found a bug in unstable and patched it so this works again.</blockquote>
<div><br></div><div>This looks like what I need. Unfortunately I can't seem to compile the necessary C files to run elephant-unstable. Even when I copy the "gcc ..." command into cygwin and compile manually, I still get this when I try to use the resultant dll file:</div>
<div><br></div><div>$ gcc -mno-cygwin -mwindows -Wall -c -std=c99 "c:\Program Files\asdf\elephant-unstable\src\memutil\libmemutil.c" -o "c:\Program Files\asdf\elephant-unstable\src\memutil\libmemutil.dll"<br>
</div><div><br></div><div><div>Error opening shared object "c:\\Program Files\\asdf\\elephant-unstable\\src\\memutil\\libmemutil.dll":<br></div><div>  5.</div><div>   [Condition of type SIMPLE-ERROR]</div></div>
<div><br></div><div>Can anyone who works regularly with Windows give me advice on compiling these dependencies? Thanks.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Calling map-inverted-index (and the top-level API fn's get-instances-by-value/range) from the base or subclasses will return instances for all classes that share that base index.  We could add some refinements such as mapping from a subclass filters out any superclass instances during the traversal.<br>

<br>
We can easily add a keyword arg to map-class and get-instances-by-class to return all subclass instances as well.<br></blockquote></div><div><br></div>These might be useful as well, but I won't need them immediately (and I've got more pressing concerns anyways).<br clear="all">
<br>-- <br>Elliott Slaughter<br><br>"Any road followed precisely to its end leads precisely nowhere." - Frank Herbert<br>
</div>