Commit c630ceb5 authored by sewardj's avatar sewardj
Browse files

[project @ 1999-10-19 11:41:35 by sewardj]

Change CFunDescriptor to match new foreign import implementation.
parent 0600f5d1
/* -----------------------------------------------------------------------------
* $Id: Assembler.h,v 1.8 1999/10/15 11:02:06 sewardj Exp $
* $Id: Assembler.h,v 1.9 1999/10/19 11:41:35 sewardj Exp $
*
* (c) The GHC Team 1994-1998.
*
......@@ -247,17 +247,12 @@ extern const AsmPrim ccall_Id;
extern const AsmPrim ccall_IO;
typedef struct {
char * arg_tys;
int arg_size;
char * result_tys;
int result_size;
unsigned int num_args;
char* arg_tys;
unsigned int num_results;
char* result_tys;
} CFunDescriptor;
typedef struct {
char * arg_tys;
char * result_tys;
} HFunDescriptor;
CFunDescriptor* mkDescriptor( char* as, char* rs );
/*-------------------------------------------------------------------------*/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment