From: ellson Date: Fri, 2 Jun 2006 17:49:34 +0000 (+0000) Subject: fix nasty bug X-Git-Tag: LAST_LIBGRAPH~32^2~6492 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ebdbe7ce53a7fe07e165adc49df4eb77daf15f9;p=graphviz fix nasty bug --- diff --git a/lib/gvc/gvcjob.h b/lib/gvc/gvcjob.h index 42da2c6be..28892cb56 100644 --- a/lib/gvc/gvcjob.h +++ b/lib/gvc/gvcjob.h @@ -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