Skip to content

Commit

Permalink
aws_future functions no longer inline (#577)
Browse files Browse the repository at this point in the history
Rust was having trouble calling `aws_future_bool` functions, due to them only being available as inline.

These functions were inline so that the we'd only need 1 declaration macro in a header. It wasn't a performance thing.

Fix is to have the macros generate normal non-inline functions, with a DECLARATION macro that goes in a header, and an IMPLEMENTATION macro that goes in a C file.
  • Loading branch information
graebm authored Jun 5, 2023
1 parent 396491c commit af3af99
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 64 deletions.
Loading

0 comments on commit af3af99

Please sign in to comment.