libk  Diff

Differences From Artifact [ace4d63e01]:

To Artifact [e8670496c8]:


     1      1   #ifndef KImem
     2      2   #define KImem
     3      3   #include <k/type.h>
     4      4   
     5      5   #ifndef KFclean
     6      6   #	define Kmsz(e) ( sizeof (e) / sizeof (e) [0] )
     7      7   #endif
            8  +
            9  +#ifdef __cplusplus
           10  +extern "C" {
           11  +#endif
     8     12   
     9     13   typedef enum kmkind {
    10     14   	kmkind_none,
    11     15   	kmkind_heap,
    12     16   	kmkind_pool,
    13     17   	kmkind_ref,
    14     18   	kmkind_tree
................................................................................
    35     39   	kmcell* cell;
    36     40   } kmptr;
    37     41   
    38     42   /* heap functions */
    39     43   
    40     44   void* kmheapa(sz);
    41     45   void  kmheapf(void*);
           46  +
           47  +#ifdef __cplusplus
           48  +}
           49  +#endif
    42     50   
    43     51   #endif