summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2009-02-07 01:30:09 +0100
committerKristian Lyngstol <kristian@nihilus.(none)>2009-02-07 01:30:09 +0100
commitce6cf1fb06525fe76b0bdba08e1548070f7b88b4 (patch)
tree8dcfdc0b80d28a9f1f0846c0363a4869a9affe71
parent5cbe1760be5af544065af90e9c50dee169698a68 (diff)
Add ABI-saftey net and bump ABI
The void *reserved; variables will allow us to add a single real pointer during 0.8 without breaking the ABI.
-rw-r--r--include/compiz-core.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/compiz-core.h b/include/compiz-core.h
index 31eeedaf..05409f5d 100644
--- a/include/compiz-core.h
+++ b/include/compiz-core.h
@@ -28,7 +28,7 @@
#include <compiz-plugin.h>
-#define CORE_ABIVERSION 200900203
+#define CORE_ABIVERSION 20090207
#include <stdio.h>
#include <sys/time.h>
@@ -1057,6 +1057,8 @@ struct _CompDisplay {
MatchPropertyChangedProc matchPropertyChanged;
LogMessageProc logMessage;
+
+ void *reserved;
};
#define GET_CORE_DISPLAY(object) ((CompDisplay *) (object))
@@ -2187,6 +2189,8 @@ struct _CompScreen {
OutputChangeNotifyProc outputChangeNotify;
InitWindowWalkerProc initWindowWalker;
+
+ void *reserved;
};
#define GET_CORE_SCREEN(object) ((CompScreen *) (object))
@@ -2657,6 +2661,8 @@ struct _CompWindow {
/* must be set by addWindowGeometry */
DrawWindowGeometryProc drawWindowGeometry;
+
+ void *reserved;
};
#define GET_CORE_WINDOW(object) ((CompWindow *) (object))