--- np2/common/lstarray.h 2005/02/09 20:11:34 1.4 +++ np2/common/lstarray.h 2005/03/20 06:09:16 1.5 @@ -1,8 +1,4 @@ -#ifdef __cplusplus -extern "C" { -#endif - typedef struct _la { UINT maxitems; size_t listsize; @@ -10,6 +6,11 @@ typedef struct _la { struct _la *laNext; } _LISTARRAY, *LISTARRAY; + +#ifdef __cplusplus +extern "C" { +#endif + LISTARRAY listarray_new(size_t listsize, UINT maxitems); void listarray_clr(LISTARRAY laHandle); void listarray_destroy(LISTARRAY laHandle);