[Gambas-bugtracker] Bug #1715: Have varptr() return the pointer to the data of a variant, instead of constanly coping the data to a fixed datatype

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sat Jan 18 05:29:47 CET 2020


Comment #1 by Benoît MINISINI:

VarPtr() on a variant was forbidden because it may depend on the datatype stored in the variant.

But I can introduce it with the constraint that you must call VarPtr() again as soon the datatype stored changes.

Benoît MINISINI changed the state of the bug to: Accepted.

More information about the Bugtracker mailing list