I ended up just writing wrapper code in c. Pass in a pointer and let the c compiler do the work. I just care about gcc and was hoping to not have to write wrapper code. Plus learn a little about the gcc c++ internals.
On the same note, has there been any work done on unloading or reloading shared libraries? I wanted to avoid the wrapper code because I must take down the lisp system to reload the new wrapper code. Thank you, William James A. Crippen wrote: > William Conrad Halliburton <[EMAIL PROTECTED]> writes: > > >>I have written code to call C++ code (via nm and demangling). Has anyone >>done work on dynamic dispatching? Any pointers to relevant information >>would be highly appreciated. How does C++ dyanamic dispatching work and >>is it possible, with a pointer to a class, to call the correct member >>functions? > > > I think that the dynamic dispatching stuff in C++ is compiler-dependent > and hence you'd want to check the documentation for your particular > compiler. Such info may not actually be available for most commercial > compilers. > > 'james >
