Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sources/dfmc/c-ffi/c-designator-models.dylan
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,14 @@ define concrete &class <C-function-pointer-instantiation>
abstract-super: <C-function-pointer>;
end &class;

/*
// need to use a new metaclass here to hold the static type
define abstract open &class <C-statically-typed-function-pointer> (<C-function-pointer>)
metaclass <designator-class>,
low-level-type: <C-statically-typed-function-pointer>,
self: <C-statically-typed-function-pointer>;
end &class;
*/


define abstract &class <C-number> (<C-non-struct>)
Expand Down
2 changes: 1 addition & 1 deletion sources/dfmc/modeling/namespaces.dylan
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ define &module dylan-c-ffi-hygiene-glitches
<raw-struct-type>,
<raw-union-type>,
<c-callable-function>,
<c-statically-typed-function-pointer>,
//<c-statically-typed-function-pointer>,
<c-pointer-type-class>;

create
Expand Down
Loading