libpsys

diff src/pattr.h @ 18:66956b1e5e3f

added missing psys_create_attr/psys_free_attr and some checking in load_attr
author John Tsiombikas <nuclear@mutantstargoat.com>
date Thu, 13 Sep 2012 04:10:38 +0300
parents 23d4c50616ff
children
line diff
     1.1 --- a/src/pattr.h	Tue Sep 11 03:26:13 2012 +0300
     1.2 +++ b/src/pattr.h	Thu Sep 13 04:10:38 2012 +0300
     1.3 @@ -36,6 +36,9 @@
     1.4  
     1.5  void psys_texture_loader(unsigned int (*load)(const char*, void*), void (*unload)(unsigned int, void*), void *cls);
     1.6  
     1.7 +struct psys_attributes *psys_create_attr(void);
     1.8 +void psys_free_attr(struct psys_attributes *attr);
     1.9 +
    1.10  int psys_init_attr(struct psys_attributes *attr);
    1.11  void psys_destroy_attr(struct psys_attributes *attr);
    1.12