]> granicus.if.org Git - graphviz/commitdiff
fix nasty bug
authorellson <devnull@localhost>
Fri, 2 Jun 2006 17:49:34 +0000 (17:49 +0000)
committerellson <devnull@localhost>
Fri, 2 Jun 2006 17:49:34 +0000 (17:49 +0000)
lib/gvc/gvcjob.h

index 42da2c6be5c96f4701a2b6f786fc633a675390fc..28892cb56aeb77cdc1c84f7715ced12e7baaaa55 100644 (file)
@@ -153,10 +153,6 @@ extern "C" {
        gvplugin_active_device_t device;
        gvdevice_callbacks_t *callbacks;
 
-#ifdef WITH_CODEGENS
-       codegen_t *codegen;     /* current  codegen */
-#endif
-
        void *surface;          /* gd or cairo surface */
        bool external_surface; /* surface belongs to caller */
 
@@ -224,6 +220,11 @@ extern "C" {
        gvevent_key_binding_t *keybindings;
        int numkeys;
        void *keycodes;
+
+/* Must be last as separately compiled plugins are not compiled with WITH_CODEGENS */
+#ifdef WITH_CODEGENS
+       codegen_t *codegen;     /* current  codegen */
+#endif
     };
 
 #ifdef __cplusplus