[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and to
From: |
Klaus Treichel |
Subject: |
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. dd4a200f0ed7033d8d0c1f7a17b4fdbe796105bc |
Date: |
Sun, 14 Feb 2010 18:00:17 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET engine, compilers and tools (pnet)".
The branch, master has been updated
via dd4a200f0ed7033d8d0c1f7a17b4fdbe796105bc (commit)
from eec152425f3128e2dcd6828565e1d48cac82b86f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/pnet.git/commit/?id=dd4a200f0ed7033d8d0c1f7a17b4fdbe796105bc
commit dd4a200f0ed7033d8d0c1f7a17b4fdbe796105bc
Author: Klaus Treichel <address@hidden>
Date: Sun Feb 14 18:59:56 2010 +0100
Update ffi closure handling for the new libffi version.
diff --git a/ChangeLog b/ChangeLog
index 4d11c38..d059cc0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,8 @@
* engine/pinvoke.c (_ILMakeClosureForDelegate): Use ffi_closure_alloc
now
for allocating the memory for the closure.
+ Replace calls to the deprecated function ffi_prep_closure with calls to
+ the new function ffi_prep_closure_loc.
2010-02-11 Klaus Treichel <address@hidden>
diff --git a/engine/pinvoke.c b/engine/pinvoke.c
index 0146394..5d182ea 100644
--- a/engine/pinvoke.c
+++ b/engine/pinvoke.c
@@ -1174,7 +1174,7 @@ void *_ILMakeClosureForDelegate(ILExecProcess *process,
ILObject *delegate, ILMe
/* Prepare the closure using the call parameters */
if(delegate)
{
- if(ffi_prep_closure(closure, cif, DelegateInvoke, (void
*)delegate)
+ if(ffi_prep_closure_loc(closure, cif, DelegateInvoke, (void
*)delegate, closure_code)
!= FFI_OK)
{
fprintf(stderr, "Cannot create a closure for %s::%s\n",
@@ -1184,7 +1184,7 @@ void *_ILMakeClosureForDelegate(ILExecProcess *process,
ILObject *delegate, ILMe
}
else
{
- if(ffi_prep_closure(closure, cif, MethodInvoke, (void *)method)
+ if(ffi_prep_closure_loc(closure, cif, MethodInvoke, (void
*)method, closure_code)
!= FFI_OK)
{
fprintf(stderr, "Cannot create a closure for %s::%s\n",
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 2 ++
engine/pinvoke.c | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive
--
DotGNU Portable.NET engine, compilers and tools (pnet)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. dd4a200f0ed7033d8d0c1f7a17b4fdbe796105bc,
Klaus Treichel <=
- Prev by Date:
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. eec152425f3128e2dcd6828565e1d48cac82b86f
- Next by Date:
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. 86899efd7040d519f7770461e1d2cc6c829ab1e5
- Previous by thread:
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. eec152425f3128e2dcd6828565e1d48cac82b86f
- Next by thread:
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET engine, compilers and tools (pnet) branch, master, updated. 86899efd7040d519f7770461e1d2cc6c829ab1e5
- Index(es):