move code from natcalls.h into native.h
[cacao.git] / src / native / native.c
index 7d6bfbd4abc2a0e8dd57795b892fdec964221118..713aea418f6949b77208dca02ee7edf817919ac7 100644 (file)
@@ -31,7 +31,7 @@
    The .hh files created with the header file generator are all
    included here as are the C functions implementing these methods.
 
-   $Id: native.c 1621 2004-11-30 13:06:55Z twisti $
+   $Id: native.c 1655 2004-12-02 16:51:20Z carolyn $
 
 */
 
 
 /* include table of native functions ******************************************/
 
+/* XXX quick hack? */
+#if defined(USE_GTK)
+#include "native/vm/GtkComponentPeer.c"
+#include "native/vm/GtkScrollPanePeer.c"
+#include "native/vm/GtkFileDialogPeer.c"
+#endif
+
 #include "nativetable.inc"
 
 
@@ -126,15 +133,6 @@ void use_class_as_object(classinfo *c)
 }
 
 
-/*************************** include native methods ***************************/ 
-
-#ifdef USE_GTK 
-#include "nat/GtkComponentPeer.c"
-#include "nat/GtkScrollPanePeer.c"
-#include "nat/GtkFileDialogPeer.c"
-#endif
-
-
 /************************** tables for methods ********************************/
 
 #undef JOWENN_DEBUG
@@ -152,7 +150,7 @@ static bool nativecompdone = false;
 
 /******************************************************************************/
 
-#include "natcalls.h"
+/**include "natcalls.h" **/
 
 
 /*********************** function: native_loadclasses **************************