# HG changeset patch # User Paul Boddie # Date 1693846411 -7200 # Node ID 75f877f88bfb97567f6598b66475f1884e023190 # Parent ee4709557b91c53c8b4b12bfe3c3e622c463d6c2 Removed superfluous and confusing instance size macro. diff -r ee4709557b91 -r 75f877f88bfb templates/types.h --- a/templates/types.h Mon Sep 04 01:19:08 2023 +0200 +++ b/templates/types.h Mon Sep 04 18:53:31 2023 +0200 @@ -1,6 +1,6 @@ /* Runtime types. -Copyright (C) 2015-2019, 2021 Paul Boddie +Copyright (C) 2015-2019, 2021, 2023 Paul Boddie This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -106,8 +106,6 @@ __attr attrs[]; /* attributes */ } __obj; -#define __INSTANCE_SIZE(NUMBER) ((NUMBER) * sizeof(__attr) + sizeof(__table *) + sizeof(__ppos)) - /* Fragments are simple collections of attributes employed by sequence types. They provide the basis of lists and tuples. */