Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tobias Decking
GHC
Commits
c630ceb5
Commit
c630ceb5
authored
Oct 19, 1999
by
sewardj
Browse files
[project @ 1999-10-19 11:41:35 by sewardj]
Change CFunDescriptor to match new foreign import implementation.
parent
0600f5d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/includes/Assembler.h
View file @
c630ceb5
/* -----------------------------------------------------------------------------
* $Id: Assembler.h,v 1.
8
1999/10/1
5
11:
02:06
sewardj Exp $
* $Id: Assembler.h,v 1.
9
1999/10/1
9
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_ty
s
;
int
arg_
size
;
char
*
result
_ty
s
;
int
result_
size
;
unsigned
int
num_arg
s
;
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
);
/*-------------------------------------------------------------------------*/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment