--- José Fonseca <[EMAIL PROTECTED]> wrote: > Yes, this works as you say _if_ the method isn't > virtual, or at least > the exact type of the class is known at compile > time, i.e., it's not an > abstract Context *, but actually a non-abstract > RadeonContext *.
It works for virtual methods and abstract classes. Check out a description of how C++ VTables work. This is a very integral part of how COM/XPCOM work too. ===== Jon Smirl [EMAIL PROTECTED] __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel