Add example of separating inline & function code

This commit is contained in:
Patrick Pelissier authored and Patrick Pelissier committed 2023-06-11 23:32:02 +02:00
1 parent 17ded6fcc8
commit 53af2aae68
7 files changed
+85 -1

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#ifndef MY_HEADER
#define MY_HEADER
// Request M*LIB to not inline functions if not the library source
#ifndef M_USE_EXTERN_DEF
#define M_USE_EXTERN_DECL
#endif
#include "m-string.h"
#include "m-array.h"
ARRAY_DEF(array_str, string_t)
#endif