objects

objects in c
git clone https://noulin.net/git/objects.git
Log | Files | Refs | README | LICENSE

commit 6f001d48eefe4847e791690c89851e8652233b7e
parent 150ad6825c8188d388ee5b2100012b9668ae0fa8
Author: Remy Noulin (Spartatek) <remy.noulin@spartatek.se>
Date:   Sat,  1 Apr 2017 08:41:13 +0200

sizeof classt 56 bytes

main.c | 2 ++
1 file changed, 2 insertions(+)

Diffstat:
Mmain.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/main.c b/main.c @@ -100,6 +100,8 @@ void print(classt *self, char *s) { void main() { + printf("Size of class: %d", sizeof(classt)); + createclasst(obj1); obj1.print(&obj1, "\nRegular Object\n"); printf("\ndirect access %s", obj1.s);