Commit Graph

46 Commits

Author SHA1 Message Date
svenbarth
184d6d61ed * regenerate makefiles
git-svn-id: trunk@44958 -
2020-04-21 06:09:20 +00:00
pierre
cd6de6a4ca Regenerate all Makefiles
git-svn-id: trunk@44882 -
2020-04-20 13:58:47 +00:00
Jonas Maebe
26ec913725 * regenerated makefiles
git-svn-id: trunk@44861 -
2020-04-19 17:33:47 +00:00
Jonas Maebe
4b59bcb0ca * regenerated makefiles
git-svn-id: trunk@44793 -
2020-04-18 16:08:25 +00:00
florian
5bab6201d5 * rebuild Makefiles
git-svn-id: trunk@44679 -
2020-04-10 19:42:14 +00:00
florian
43dc4c7ea0 * regenerated Makefiles
git-svn-id: trunk@44333 -
2020-03-21 20:59:59 +00:00
pierre
2b658ef11c Add missing trampoline size found in libffi version 3.3
git-svn-id: trunk@43998 -
2020-01-19 18:20:59 +00:00
pierre
367eac9743 Enable libffi package on win32,win64 and BSD targets, remove CPU restriction
git-svn-id: trunk@43975 -
2020-01-18 21:23:21 +00:00
pierre
a09e40945c Regenerate all Makefile's after commit #43472
git-svn-id: trunk@43478 -
2019-11-15 14:47:02 +00:00
pierre
41216b04ea Set explicitly packages ShortName's according to renametoshort rule in Makefile.fpc
git-svn-id: trunk@42842 -
2019-08-26 21:34:07 +00:00
pierre
5ed7bd35df Update all trunk/fpcsrc Makefile's after commit 42749
git-svn-id: trunk@42750 -
2019-08-20 15:58:10 +00:00
Jonas Maebe
9e9a982bfe * synchronised with trunk till r42095
git-svn-id: branches/debug_eh@42096 -
2019-05-18 18:43:51 +00:00
svenbarth
45479302c1 - ValueToFFIValue is no longer needed
git-svn-id: trunk@42073 -
2019-05-15 05:29:00 +00:00
svenbarth
9fa4a619d7 + add support for callbacks to the FFI invoke manager
git-svn-id: trunk@42071 -
2019-05-15 05:28:54 +00:00
svenbarth
0d6d3a1529 * for callbacks argument values are not needed, so make the need for aArgValues optional
git-svn-id: trunk@42070 -
2019-05-15 05:28:51 +00:00
svenbarth
1c58ef49f3 * directly use the indirection information instead of calculating it a second time in ValueToFFIValue()
git-svn-id: trunk@42069 -
2019-05-15 05:28:48 +00:00
svenbarth
68c9b83d87 * for callbacks it's needed to know whether an argument is indirect or not
git-svn-id: trunk@42068 -
2019-05-15 05:28:45 +00:00
svenbarth
5516bcb266 * move check for argument/result indirection to separate function
git-svn-id: trunk@42067 -
2019-05-15 05:28:42 +00:00
svenbarth
ea270d9800 * move creation of the CIF object to a separate function in preparation for callbacks
git-svn-id: trunk@42066 -
2019-05-15 05:28:39 +00:00
Jonas Maebe
128bf046b4 * regenerated Makefiles with LLVM bitcode installation support
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
svenbarth
4e0cc65c63 * correctly handle untyped parameters
git-svn-id: trunk@41839 -
2019-04-04 19:32:29 +00:00
svenbarth
9e9aca6fea * correctly handle Comp and Currency parameters as well as results (at least on the X86 platforms :/ )
git-svn-id: trunk@41838 -
2019-04-04 19:32:26 +00:00
svenbarth
04f681d7c6 * directly pass the pointer to the result value; avoids an unnecessary copy operation
git-svn-id: trunk@41837 -
2019-04-04 19:32:23 +00:00
svenbarth
36255a700d * there is no CPUX86 define that is set for all three X86 variants (i8086, i386, x86_64), so check for each separately
git-svn-id: trunk@41836 -
2019-04-04 19:32:19 +00:00
pierre
74fed2a4cd Regenerate Makefile's after fpcmake change in commit #41721
git-svn-id: trunk@41723 -
2019-03-17 14:45:03 +00:00
Károly Balogh
5182dc37af haiku-x86_64: regenerated all Makefiles, take 2
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +00:00
svenbarth
9a23613b9d * rework low level callback API
git-svn-id: trunk@40697 -
2018-12-29 19:21:09 +00:00
yury
a29290202f * Regenerated makefiles to support x86_64-android.
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
svenbarth
91899c7bb1 * ensure that the elements field of ffi_type is initialized correctly so that the trick with the dynamic array works correctly
git-svn-id: trunk@39892 -
2018-10-07 12:25:55 +00:00
svenbarth
3bdb4aa1a2 * correctly handle ShortString, object and array fields that are part of a record/object
git-svn-id: trunk@39891 -
2018-10-07 12:25:52 +00:00
svenbarth
b91c856e38 * also take param flags into consideration
git-svn-id: trunk@39890 -
2018-10-07 12:25:49 +00:00
svenbarth
00e700d598 * adjust Invoke API of FunctionCallManager to not rely on TValue
git-svn-id: trunk@39881 -
2018-10-07 12:25:21 +00:00
svenbarth
76a95f61e2 * fix warning about result not being initialized
git-svn-id: trunk@39880 -
2018-10-07 12:25:18 +00:00
yury
8c59eb1ce5 * Regenerated makefiles to support aarch64-android.
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
pierre
4e7003fb94 Update all packages Makefile's
git-svn-id: trunk@39828 -
2018-09-27 07:05:49 +00:00
svenbarth
17ebe6e28f * also move to the next field when skipping it
git-svn-id: trunk@39699 -
2018-09-02 16:20:15 +00:00
marco
98f00acb06 * trunk to 3.3.1
git-svn-id: trunk@39635 -
2018-08-18 15:47:44 +00:00
marco
d143ab60e1 * regenned makefile without date/rev components for easier merging.
git-svn-id: trunk@39630 -
2018-08-18 15:06:25 +00:00
pierre
a93fe1b363 Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
git-svn-id: trunk@38751 -
2018-04-12 15:26:33 +00:00
pierre
d18627f0af * Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
svenbarth
5edbdd5a00 * correctly handle non-static functions where the result is passed as a parameter (the order is "Self/VMT, Result, other Args" there)
git-svn-id: trunk@37387 -
2017-10-02 19:40:47 +00:00
svenbarth
cb142cdf7b * use our license header instead of the original MIT one
git-svn-id: trunk@37357 -
2017-09-29 17:07:33 +00:00
svenbarth
d8e0404e8f * use AddUnit() instead of Add()
git-svn-id: trunk@37102 -
2017-09-01 13:11:36 +00:00
svenbarth
135b5de410 + add function call manager based on libffi; currently only tested on x86_64-linux; all other targets need to be explicitely tested before being enabled
git-svn-id: trunk@37096 -
2017-08-31 21:18:49 +00:00
svenbarth
0553d94765 * generate Makefile after r37084
git-svn-id: trunk@37085 -
2017-08-30 19:29:44 +00:00
svenbarth
0140028d4e + add headers for the ffi library, the foreign function call library
git-svn-id: trunk@37084 -
2017-08-30 19:28:56 +00:00