Skip to content

Commit

Permalink
introduce signature proc-macro
Browse files Browse the repository at this point in the history
previously, to prevent implementing functions with wrong signatures, we
checked at comptime if the signatures of the main module and c matched
by hijacking `_` (type inference) and the fact that arrays can only
contain the same type and force the compiler to verify. now this is done
by a attribute macro that does the same thing, but in a less error prone
manner.
  • Loading branch information
levydsa committed Dec 31, 2024
1 parent 4953aa1 commit 823bff3
Show file tree
Hide file tree
Showing 6 changed files with 381 additions and 171 deletions.
Loading

0 comments on commit 823bff3

Please sign in to comment.