chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05a2c61
)
lib/sod.h: Make the `_vt' member of `sod_instance' be pointer-to-const.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 30 Aug 2015 09:58:38 +0000
(10:58 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 9 Sep 2015 09:28:17 +0000
(10:28 +0100)
lib/sod.h
patch
|
blob
|
blame
|
history
diff --git
a/lib/sod.h
b/lib/sod.h
index cb6b046d182b77a63aa5038008d75d2a1687da69..8270895bf6f614fc493a5f5bf7f9404f3d00e00e 100644
(file)
--- a/
lib/sod.h
+++ b/
lib/sod.h
@@
-53,7
+53,7
@@
struct sod_vtable {
* these.
*/
struct sod_instance {
-
struct sod_vtable *_vt;
/* Pointer to (chain's) vtable */
+
const struct sod_vtable *_vt;
/* Pointer to (chain's) vtable */
};
/* Information about a particular chain of superclasses. In each class,