summaryrefslogtreecommitdiff
path: root/src/demorec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/demorec.h')
-rw-r--r--src/demorec.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/demorec.h b/src/demorec.h
index 63009a0..4e33cc5 100644
--- a/src/demorec.h
+++ b/src/demorec.h
@@ -20,8 +20,9 @@
#include "event.h"
-// For internal use by democustom
-extern void *demorecorder;
+// For internal use by democustom. Consider this opaque.
+// XXX: should the struct be put in engineapi or something?
+extern struct CDemoRecorder { void **vtable; } *demorecorder;
/*
* Whether to ignore the value of the sst_autorecord cvar and just keep