mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
DO fixes ... thread safety and get exceptions working properly again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10938 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bb0482127b
commit
f07102c855
9 changed files with 630 additions and 788 deletions
|
@ -26,6 +26,8 @@
|
|||
|
||||
#include <base/preface.h>
|
||||
|
||||
#include <base/DistributedObjects.h>
|
||||
|
||||
/* For NSArgumentInfo we include NSMethodSignature.h */
|
||||
#include <Foundation/NSMethodSignature.h>
|
||||
|
||||
|
@ -52,11 +54,7 @@ typedef union {
|
|||
|
||||
BOOL
|
||||
mframe_dissect_call (arglist_t argframe, const char *types,
|
||||
void (*encoder)(int,void*,const char*,int));
|
||||
BOOL
|
||||
mframe_dissect_call_opts (arglist_t argframe, const char *types,
|
||||
void (*encoder)(int,void*,const char*,int),
|
||||
BOOL pass_pointers);
|
||||
void (*encoder)(DOContext*), DOContext *ctxt);
|
||||
|
||||
/* Decode the arguments to a method call by calling DECODER, knowing
|
||||
what to decode by looking at type string ENCODED_TYPES. Build an
|
||||
|
@ -64,14 +62,9 @@ mframe_dissect_call_opts (arglist_t argframe, const char *types,
|
|||
return value and the pass-by-reference values using ENCODER. */
|
||||
|
||||
void
|
||||
mframe_do_call (const char *encoded_types,
|
||||
void(*decoder)(int,void*,const char*),
|
||||
void(*encoder)(int,void*,const char*,int));
|
||||
void
|
||||
mframe_do_call_opts (const char *encoded_types,
|
||||
void(*decoder)(int,void*,const char*),
|
||||
void(*encoder)(int,void*,const char*,int),
|
||||
BOOL pass_pointers);
|
||||
mframe_do_call (DOContext *ctxt,
|
||||
void(*decoder)(DOContext*),
|
||||
void(*encoder)(DOContext*));
|
||||
|
||||
/* Decode the return value and pass-by-reference arguments using
|
||||
DECODER, knowning what to decode by looking at type string TYPES
|
||||
|
@ -81,12 +74,7 @@ mframe_do_call_opts (const char *encoded_types,
|
|||
retval_t
|
||||
mframe_build_return (arglist_t argframe, const char *types,
|
||||
BOOL out_parameters,
|
||||
void(*decoder)(int,void*,const char*,int));
|
||||
retval_t
|
||||
mframe_build_return_opts (arglist_t argframe, const char *types,
|
||||
BOOL out_parameters,
|
||||
void(*decoder)(int,void*,const char*,int),
|
||||
BOOL pass_pointers);
|
||||
void(*decoder)(DOContext*), DOContext *ctxt);
|
||||
|
||||
/*
|
||||
* Copy the return value from retframe into the specified buffer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue