Discussions

Ask a Question
Back to All

About "inline functions"

Hi
there is a question that has been in my mind for some time.

https://github.com/XRPL-Labs/xrpld-hooks/discussions/57

I ask the question again here, because I think it is an important one.

about "C inline functions" and the compiler option to force compile "always inline".

There is a possibility to enable this functionality?
Inline functions, I know, can be an alternative to the awful macros.
recursion is not possible with inline functions
and the benefit could be a programming style very similar to javascript and solidity.

thank you