~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/sod.h: Make the `_vt' member of `sod_instance' be pointer-to-const.
[sod]
/
lib
/
sod.h
diff --git
a/lib/sod.h
b/lib/sod.h
index
cb6b046
..
8270895
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,