libk  Diff

Differences From Artifact [69d05c5e37]:

To Artifact [a45d7fa32d]:


     1      1   #ifndef KIstr
     2      2   #define KIstr
     3      3   
     4      4   #include <k/mem.h>
            5  +
            6  +#ifdef __cplusplus
            7  +extern "C" {
            8  +#endif
     5      9   
     6     10   typedef struct kstr {
     7     11   	sz size;
     8     12   	kmptr ptr;
     9     13   } kstr;
    10     14   
    11     15   typedef struct ksraw {
................................................................................
    13     17   	const char* ptr;
    14     18   } ksraw;
    15     19   
    16     20   typedef struct ksmut {
    17     21   	sz size;
    18     22   	char* ptr;
    19     23   } ksmut;
           24  +
           25  +#ifdef __cplusplus
           26  +}
           27  +#endif
           28  +
    20     29   #endif