~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/keyword.h: Some minor fixes to comments.
[sod]
/
lib
/
sod-structs.3
diff --git
a/lib/sod-structs.3
b/lib/sod-structs.3
index
029cabd
..
0eb6324
100644
(file)
--- a/
lib/sod-structs.3
+++ b/
lib/sod-structs.3
@@
-105,6
+105,7
@@
struct SodObject__ilayout {
\h'8n'const char *name;
\h'8n'const char *nick;
\h'8n'size_t initsz;
\h'8n'const char *name;
\h'8n'const char *nick;
\h'8n'size_t initsz;
+\h'8n'size_t align;
\h'8n'void *(*imprint)(void *\fIp\fB);
\h'8n'size_t n_supers;
\h'8n'const SodClass *const *supers;
\h'8n'void *(*imprint)(void *\fIp\fB);
\h'8n'size_t n_supers;
\h'8n'const SodClass *const *supers;
@@
-334,6
+335,9
@@
A pointer to the class's nickname.
.B size_t initsz;
The size in bytes required to store an instance of the class.
.TP
.B size_t initsz;
The size in bytes required to store an instance of the class.
.TP
+.B size_t align;
+A sufficient alignment for the class's instance storage.
+.TP
.BI "void *(*imprint)(void *" p );
A pointer to a function:
given a pointer
.BI "void *(*imprint)(void *" p );
A pointer to a function:
given a pointer
@@
-731,6
+735,12
@@
extern const union \fIC\fB__vtu_\fIh\fB \fIC\fB__vtable_\fIh\fB;
.ft P
.fi
.PP
.ft P
.fi
.PP
+In the following,
+let
+.I M
+be the metaclass of
+.IR C .
+.PP
The outer layer is a
.B union
.IB C __vtu_ h
The outer layer is a
.B union
.IB C __vtu_ h