Diff for /np2/x11/ini.h between versions 1.3 and 1.6

version 1.3, 2004/07/05 14:30:39 version 1.6, 2012/01/23 04:20:24
Line 1 Line 1
 #ifndef NP2_X11_INI_H__  #ifndef NP2_X11_INI_H__
 #define NP2_X11_INI_H__  #define NP2_X11_INI_H__
   
   G_BEGIN_DECLS
   
 enum {  enum {
         INITYPE_STR             = 0,          INITYPE_STR             = 0,
         INITYPE_BOOL,          INITYPE_BOOL,
Line 20  enum { Line 22  enum {
         INITYPE_KB,          INITYPE_KB,
         INITYPE_USER,          INITYPE_USER,
         INITYPE_SNDDRV,          INITYPE_SNDDRV,
           INITYPE_INTERP,
         INITYPE_MASK            = 0xff,          INITYPE_MASK            = 0xff,
   
         INIFLAG_RO              = 0x0100,          INIFLAG_RO              = 0x0100,
Line 28  enum { Line 31  enum {
 };  };
   
 typedef struct {  typedef struct {
         const char      item[10];          char    item[10];
         const UINT16    itemtype;          UINT16  itemtype;
         const void      *value;          void    *value;
         const UINT32    arg;          UINT32  arg;
 } INITBL;  } INITBL;
   
 #ifdef __cplusplus  void ini_read(const char *path, const char *title, INITBL *tbl, UINT count);
 extern "C" {  void ini_write(const char *path, const char *title, INITBL *tbl, UINT count, BOOL create);
 #endif  
   
 void ini_read(const char *path, const char *title, const INITBL *tbl, UINT count);  
 void ini_write(const char *path, const char *title, const INITBL *tbl, UINT count, BOOL create);  
   
 void initload(void);  void initload(void);
 void initsave(void);  void initsave(void);
   
 #ifdef __cplusplus  G_END_DECLS
 }  
 #endif  
   
 #endif  /* NP2_X11_INI_H__ */  #endif  /* NP2_X11_INI_H__ */

Removed from v.1.3  
changed lines
  Added in v.1.6


RetroPC.NET-CVS <cvs@retropc.net>