Loading

摘要: C对代码有许多优化的地方,从某种程度上来看,内联函数就是一种优化,看一下C官方标准对inline的描述: When the compiler inline-expands a function call, the function’s code gets inserted into the call 阅读全文
posted @ 2021-01-16 15:43 Msskx 阅读(180) 评论(0) 推荐(0)
摘要: 首先引入extern"C"的官方解释 extern "C" is meant to be recognized by a C++ compiler and to notify the compiler that the noted function is (or to be) compiled in 阅读全文
posted @ 2021-01-16 09:09 Msskx 阅读(291) 评论(0) 推荐(0)