/[pcsx2_0.9.7]/trunk/common/include/PS2Eext.h
ViewVC logotype

Diff of /trunk/common/include/PS2Eext.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31 by william, Tue Sep 7 03:24:11 2010 UTC revision 62 by william, Tue Sep 7 11:08:22 2010 UTC
# Line 30  Line 30 
30  #include <gtk/gtk.h>  #include <gtk/gtk.h>
31  #include <cstring>  #include <cstring>
32    
33  #define EXPORT_C_(type) extern "C" type  #define EXPORT_C_(type) extern "C" __attribute__((externally_visible,visibility("default"))) type
34  #endif  #endif
35    
36  //#include "PS2Edefs.h"  //#include "PS2Edefs.h"
# Line 64  struct PluginLog Line 64  struct PluginLog
64    
65      void Close()      void Close()
66      {      {
67          if (LogFile) fclose(LogFile);          if (LogFile) {
68                fclose(LogFile);
69                LogFile = NULL;
70            }
71      }      }
72    
73      void Write(const char *fmt, ...)      void Write(const char *fmt, ...)
# Line 132  struct PluginConf Line 135  struct PluginConf
135    
136      void Close()      void Close()
137      {      {
138          fclose(ConfFile);          if (ConfFile) {
139                fclose(ConfFile);
140                ConfFile = NULL;
141            }
142      }      }
143    
144      int ReadInt(const std::string& item, int defval)      int ReadInt(const std::string& item, int defval)

Legend:
Removed from v.31  
changed lines
  Added in v.62

  ViewVC Help
Powered by ViewVC 1.1.22