> On 6 Nov 2016, at 22:17, Dimitris Chloupis <kilon.al...@gmail.com> wrote: > > > "Now my challenges after reading the UFFI documentation are the following
oh crap… I forget I have to finish that :( UFFO doc: back to my TODO list... Esteban > > 1) How I can pass things like O_CREAT , MAP_SHARED > 2) How I cast a void pointer (its what mmap returns) to a C++ string or C++ > int" > > After carefully re-reading the documentation its seems the answer to question > 1 is that I will have to take the constant values from the header and follow > the instructions of the section "passing variables" > > About question 2, I could fetch the void pointer as return type , I know > that what returns is ExternalAdress pointer but have no idea how to fetch the > contents that the pointer points to. Maybe ByteArray>>integerAt:size:signed: > is what I am looking for ? > > Will give it a try tomorrow. In the meanwhile I am open to suggestions.