gjs r45 - trunk/gjs



Author: lucasr
Date: Fri Oct 24 10:30:31 2008
New Revision: 45
URL: http://svn.gnome.org/viewvc/gjs?rev=45&view=rev

Log:
    * gjs/importer.h, gjs/mem.h: add warnings about inclusing specific
    headers instead of the gjs main one.


Modified:
   trunk/gjs/importer.h
   trunk/gjs/mem.h

Modified: trunk/gjs/importer.h
==============================================================================
--- trunk/gjs/importer.h	(original)
+++ trunk/gjs/importer.h	Fri Oct 24 10:30:31 2008
@@ -24,6 +24,10 @@
 #ifndef __GJS_IMPORTER_H__
 #define __GJS_IMPORTER_H__
 
+#ifndef __GJS_GJS_H__
+#warning Include <gjs/gjs.h> instead of <gjs/importer.h>
+#endif
+
 #include <glib.h>
 
 #include <jsapi.h>

Modified: trunk/gjs/mem.h
==============================================================================
--- trunk/gjs/mem.h	(original)
+++ trunk/gjs/mem.h	Fri Oct 24 10:30:31 2008
@@ -24,6 +24,10 @@
 #ifndef __GJS_MEM_H__
 #define __GJS_MEM_H__
 
+#ifndef __GJS_GJS_H__
+#warning Include <gjs/gjs.h> instead of <gjs/mem.h>
+#endif
+
 #include <glib.h>
 #include <jsapi.h>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]