Sven Barth wrote:
We have three windows platforms with MSVC and I don't know how many
platforms where GCC or LLVM is the main compiler. I'm not going for
popularity here, just for the majority of platforms.
Looking at the options
1 use swig architecture to parse the C++ source code/headers and
On 01/08/2013 13:11, Sven Barth wrote:
> Am 01.08.2013 12:47, schrieb Reinier Olislagers:
>> On 01/08/2013 12:24, Sven Barth wrote:
> Important point for variant 2: less overhead. Using swig you first
> flatten the API and then unflatten it again into Object Pascal classes.
> For callbacks you have
On Thu, 1 Aug 2013, Sven Barth wrote:
Of course I understand it's very attractive to have everything in house
and native in FPC, but I suspect the effort needed to develop/maintain
it may outweigh that...
Important point for variant 2: less overhead. Using swig you first flatten
the API and t
> Important point for variant 2: less overhead.
Right, that's the biggest plus in my eyes.
>Or is this meanwhile standardized ?
Unfortunately not. It starts in different name mangling - as already said here
- and other (small) differences.
So working on a cross-platform project in C++ with differ
> @dliw: wasn't the Object Pascal module based on the Modula 3 module?
> IIRC recent posts on the swig mailing lists did indeed indicate the
> Modula 3 module was buggy in current SWIG.
Sorry, you're right - it was based on Modula - I did mix it up.
Thanks for this correction.
Am 01.08.2013 12:47, schrieb Reinier Olislagers:
On 01/08/2013 12:24, Sven Barth wrote:
Am 01.08.2013 12:11, schrieb Michael Van Canneyt:
On Thu, 1 Aug 2013, Sven Barth wrote:
Am 01.08.2013 11:38, schrieb Michael Van Canneyt:
On Thu, 1 Aug 2013, Sven Barth wrote:
Am 01.08.2013 11:10, schrieb
On 01/08/2013 12:24, Sven Barth wrote:
> Am 01.08.2013 12:11, schrieb Michael Van Canneyt:
>> On Thu, 1 Aug 2013, Sven Barth wrote:
>>> Am 01.08.2013 11:38, schrieb Michael Van Canneyt:
On Thu, 1 Aug 2013, Sven Barth wrote:
> Am 01.08.2013 11:10, schrieb
How do you handle different bi
Am 01.08.2013 12:11, schrieb Michael Van Canneyt:
On Thu, 1 Aug 2013, Sven Barth wrote:
Am 01.08.2013 11:38, schrieb Michael Van Canneyt:
On Thu, 1 Aug 2013, Sven Barth wrote:
Am 01.08.2013 11:10, schrieb dev.d...@gmail.com:
And if it's allowed to dream: one time fpc will simply link
ag
On Thu, 1 Aug 2013, Sven Barth wrote:
Am 01.08.2013 11:38, schrieb Michael Van Canneyt:
On Thu, 1 Aug 2013, Sven Barth wrote:
Am 01.08.2013 11:10, schrieb dev.d...@gmail.com:
And if it's allowed to dream: one time fpc will simply link against C++
directly :)
If you prefer to work in Pasc
Am 01.08.2013 11:38, schrieb Michael Van Canneyt:
On Thu, 1 Aug 2013, Sven Barth wrote:
Am 01.08.2013 11:10, schrieb dev.d...@gmail.com:
And if it's allowed to dream: one time fpc will simply link against C++
directly :)
If you prefer to work in Pascal instead of C++ then you could work on
On Thu, 1 Aug 2013, Sven Barth wrote:
Am 01.08.2013 11:10, schrieb dev.d...@gmail.com:
And if it's allowed to dream: one time fpc will simply link against C++
directly :)
If you prefer to work in Pascal instead of C++ then you could work on that
dream by improving the cppclass code in the co
On Thu, 1 Aug 2013, dev.d...@gmail.com wrote:
Hi,
FYI, created wiki page http://wiki.lazarus.freepascal.org/SWIG to bundle
information.
It would of course be very welcome if somebody got the current version into
main SWIG so it is more easily usable
The wiki page is a good idea, things h
Am 01.08.2013 11:10, schrieb dev.d...@gmail.com:
And if it's allowed to dream: one time fpc will simply link against C++
directly :)
If you prefer to work in Pascal instead of C++ then you could work on
that dream by improving the cppclass code in the compiler. Linking
against static C++ class
Hi,
> FYI, created wiki page http://wiki.lazarus.freepascal.org/SWIG to bundle
> information.
>It would of course be very welcome if somebody got the current version into
>main SWIG so it is more easily usable
The wiki page is a good idea, things have to be clarified though.
I don't know in how
On 19/07/2013 12:07, Reinier Olislagers wrote:
> FYI, created wiki page
> http://wiki.lazarus.freepascal.org/SWIG
> to bundle information.
>
Uploaded binaries for Linux x86 and Linux x64 on the bitbucket
repository mentioned in the wiki article.
Unfortunately I managed to generate a syntax error
Reinier Olislagers wrote:
On 19/06/2012 09:51, Reinier Olislagers wrote:
The recent thread about using C headers made me think about using C++
projects.
Found that the SWIG tool converts C/C++ .h files into glue code and
bindings for e.g. Python, Modula 3... but not Delphi/Object Pascal.
It se
On 19/06/2012 09:51, Reinier Olislagers wrote:
> The recent thread about using C headers made me think about using C++
> projects.
>
> Found that the SWIG tool converts C/C++ .h files into glue code and
> bindings for e.g. Python, Modula 3... but not Delphi/Object Pascal.
>
> It seems you get an
Hi,
> http://members.upc.nl/s.grewar/swig_2.0.8_to_swig_delphi.diff
Hm, this really doesnt look good.. :(
I did run "make maintainer-clean" before packing - and hoped this would remove
all this autogenerated stuff - apparently this wasn't the case [although the
size of the whole thing went down
On 31-10-2012 13:37, dev.dliw-re5jqeeqqe8avxtiumw...@public.gmane.org wrote:
> Hi,
> here it is:
> http://downloadit.pf-control.de/dl.php?ref=swig
>
> Unfortunately I made the mistake and did the work on a non version controlled
> folder - therefore it is whole swig and not just a patch :(
>
> F
Hi,
here it is:
http://downloadit.pf-control.de/dl.php?ref=swig
Unfortunately I made the mistake and did the work on a non version controlled
folder - therefore it is whole swig and not just a patch :(
Feel free to move the file to any other - possibly more "central" - place and
hopefully there
On 26-10-2012 17:02, download itweb wrote:
> Hi,
>> Perhaps this could help somebody...
> I kept an eye on Swig for quite some time, but reading your posting I
> decided to give it a try.
>
> A summary for everyone interested:
> [latest swig (2.0.8) - adapted patch - not sure if I made everythin
Hi,
> Perhaps this could help somebody...
I kept an eye on Swig for quite some time, but reading your posting I
decided to give it a try.
A summary for everyone interested:
[latest swig (2.0.8) - adapted patch - not sure if I made everything
correct (API changed since the patch was made)]
1. The
Reinier Olislagers wrote:
On 20-10-2012 11:10, Krzysztof wrote:
So it will be possible to convert for example libQT4Pas?
Haven't used libQT4Pas, but I understand it is the wrapper to let FPC
talk to the C++ Qt libs.
So SWIG could automatically generate an alternative to libQT4Pas.
I wonder i
On 20-10-2012 11:10, Krzysztof wrote:
> So it will be possible to convert for example libQT4Pas?
Haven't used libQT4Pas, but I understand it is the wrapper to let FPC
talk to the C++ Qt libs.
So SWIG could automatically generate an alternative to libQT4Pas.
___
So it will be possible to convert for example libQT4Pas?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 19-6-2012 9:51, Reinier Olislagers wrote:
> The recent thread about using C headers made me think about using C++
> projects.
>
> Found that the SWIG tool converts C/C++ .h files into glue code and
> bindings for e.g. Python, Modula 3... but not Delphi/Object Pascal.
>
> It seems you get an ob
26 matches
Mail list logo