mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Get started on calling erased functions
This commit is contained in:
parent
6312d75ee0
commit
a6bb3ab03c
2 changed files with 44 additions and 3 deletions
|
@ -690,8 +690,8 @@ pub enum LayoutRepr<'a> {
|
|||
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
||||
pub struct FunctionPointer<'a> {
|
||||
args: &'a [InLayout<'a>],
|
||||
ret: InLayout<'a>,
|
||||
pub args: &'a [InLayout<'a>],
|
||||
pub ret: InLayout<'a>,
|
||||
}
|
||||
|
||||
impl<'a> FunctionPointer<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue