libresman

diff src/resman.h @ 6:410c19c735b2

- removed the glew dependency - initial thread pool implementation
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 03 Feb 2014 05:22:09 +0200
parents bd9b4ff19c93
children 4d18498a0078
line diff
     1.1 --- a/src/resman.h	Sat Feb 01 08:02:08 2014 +0200
     1.2 +++ b/src/resman.h	Mon Feb 03 05:22:09 2014 +0200
     1.3 @@ -12,6 +12,10 @@
     1.4  
     1.5  struct resman;
     1.6  
     1.7 +#ifdef __cplusplus
     1.8 +extern "C" {
     1.9 +#endif
    1.10 +
    1.11  struct resman *resman_create(void);
    1.12  void resman_free(struct resman *rman);
    1.13  
    1.14 @@ -31,5 +35,9 @@
    1.15  void resman_set_res_data(struct resman *rman, int res_id, void *data);
    1.16  void *resman_get_res_data(struct resman *rman, int res_id);
    1.17  
    1.18 +#ifdef __cplusplus
    1.19 +}
    1.20 +#endif
    1.21 +
    1.22  
    1.23  #endif	/* RESOURCE_MANAGER_H_ */