[Gambas-devel] Multi-level virtual objects, inheritance and symbol resolution mess

Benoît Minisini gambas at ...1...
Wed Sep 10 20:43:07 CEST 2014


Le 06/09/2014 17:50, Benoît Minisini a écrit :
>
> OK. As I thought, the "_" prefix was the problem. I fixed the
> interpreter so that it decides that a native class is virtual by taking
> into account the "GB_VIRTUAL_CLASS()" declaration, not just the initial
> dot in the name.
>
> But there is another problem:
>
> hGraphMatrix.Vertices[] calls GraphVertices_get, which calls the
> "_getVertex" method. As "_getVertex" returns a "virtual object", no
> dynamic calling can occur, and the InDegree property of _Graph_Vertex is
> called, never the InDegree property of _Matrix_Vertex.
>
> I have no solution at the moment...
>

Hi Tobias,

Did you succeed in dealing with that tricky stuff?

-- 
Benoît Minisini




More information about the Devel mailing list