Ouss4 edited a comment on pull request #3879: URL: https://github.com/apache/incubator-nuttx/pull/3879#issuecomment-857602231
> Many inlince function(e.g. up_irq_save, up_tls_info) doesn't declare in include/nuttx/, but only in arch/xxx/include/, I just follow this convention. Yes, that's right, but we still add comments in include/nuttx/arch.h to explain why we don't have a prototype here (e.g. because it's a macro or an inline function). But the convention is `up_` functions are exported outside the arch directory, while `chip_` or ` arch_` are used only inside the arch directory, this is why I asked if we have plans to use this outside arch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
