Re: [Pharo-users] [UFFI] How to get a string from the a void pointer

2016-11-07 Thread Dimitris Chloupis
AT LAST I DID IT!!! The problem was that I was not storing a crucial value for an instance variable , so the void pointer was wrong. Corrected and I can see now the "hello" string inside Pharo :) Now I can exchange data between C++ and Pharo and use that to call C++ functions/methods inside

[Pharo-users] [UFFI] How to get a string from the a void pointer

2016-11-07 Thread Dimitris Chloupis
So I managed to port all C++ functions to pharo, which basically includes the following Not full definition of function open() lseek() close() mmap() I have tested them all, they all return proper values from inside Pharo and Pharo does not crash. it seems also that mmap works because it return