This is possible now that the metrics.c code is no longer trying to
peek inside the context_t structure.
#include "metrics.h"
#include "xmalloc.h"
#include "metrics.h"
#include "xmalloc.h"
+typedef struct context
+{
+ /* Pointer to the system's context ID, (such as a GLXContext) */
+ void *system_id;
+
+ metrics_info_t metrics_info;
+ metrics_t *metrics;
+} context_t;
+
context_t *current_context;
static context_t *
context_t *current_context;
static context_t *
#include "fips-dispatch.h"
#include "fips-dispatch.h"
-typedef struct context
-{
- /* Pointer to the system's context ID, (such as a GLXContext) */
- void *system_id;
-
- metrics_info_t metrics_info;
- metrics_t *metrics;
-} context_t;
-
/* Indicate that a new context has come into use.
*
* Here, 'system_context_id' is a pointer to a system context (such as
/* Indicate that a new context has come into use.
*
* Here, 'system_context_id' is a pointer to a system context (such as