[fpc-pascal] Virtual object methods

Ben Grasset operator97 at gmail.com
Fri Jun 28 00:04:51 CEST 2019


On Thu, Jun 27, 2019 at 5:57 PM Ryan Joseph <genericptr at gmail.com> wrote:

>
> Heap allocate how so? Calling the constructor seems to fix this and puts
> the VMT table on the stack (I think anyways). Btw I’m doing this
> specifically as testing for a possible “advancedobjects” mode switch and
> the only reason to use objects is for inheritance on the stack (otherwise
> records or classes).
>

I actually misunderstood what you were trying to do (read the program too
quickly.) Never mind.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190627/11d4a9c9/attachment.html>


More information about the fpc-pascal mailing list