Forum > General

Universal Library Headers

<< < (6/6)

avra:

--- Quote from: Fred vS on March 23, 2014, 11:39:57 pm ---- For Universality, use cmem in your library.
I noted that, if foreign languages (Python, Java,  gcc,...) use fpc libraries without cmem, sometimes, i get "fragmentation fault" and it crash the application.
With cmem, it works perfectly (try with Python, Java, gcc...).

--- End quote ---
Thank you for sharing this info  :)

marcov:

--- Quote from: User137 on March 10, 2014, 02:29:49 am ---
integer: smallint, longint or int64 (signed)

--- End quote ---

Integer is never int64 on normal platforms (maybe stuff like jvm backend).


--- Quote ---The integer special cases were explained here: http://wiki.freepascal.org/Integer

--- End quote ---

Also wrong, corrected.
 

Fred vS:
Hello.

After successfully used fpc libraries with Python (i will do a wiki, i promise  ;) ), i want to access those libraries from Java.

I will use => https://github.com/twall/jna  (Java Native Access).

Hum, who knows  :-[, does somebody already work with JNA and native fpc Libraries ?
Have you some example to show ?

Many thanks.

Fred

Navigation

[0] Message Index

[*] Previous page

Go to full version