User talk:PascalDragon

From Lazarus wiki
Revision as of 10:27, 23 February 2013 by BigChimp (talk | contribs) (mention I read your response)
Jump to navigationJump to search

Blatant advertising

Hi Sven, saw that you were interested in native support for C++ linking (cppclass). Just wanted to let you know (if you did not already) that there is a FPC port of SWIG that generates object-oriented FPC code from C++ files Perhaps that could be useful? See fpc mailing list post: http://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg30349.html where d.l.i.w. linked an updated version... ...and I put the resulting code in https://bitbucket.org/reiniero/smalltools/src (directory SWIGDelphi)

Thanks, Reinier

--BigChimp 06:10, 22 February 2013 (UTC)

I'm aware of SWIG and I'll maybe use it in the coming months in the context of my master thesis, but I'm talking about compiler support for linking to C++ code. Since some years already FPC knows the "cppclass" keyword for defining a C++ class and two of my first patches for FPC where small corrections and improvements it (see here and here and so one can currently already use class methods of C++ classes (of course this is not nearly enough).

Regards, Sven

Thanks, Sven. Good luck with the thesis! --BigChimp 09:27, 23 February 2013 (UTC)

PascalDragon 13:39, 22 February 2013 (UTC)