refactor: retire GCObject.shallow_size()

Not needed.  Rely on size stored in gc-owned object header
This commit is contained in:
Roland Conybeare 2026-04-04 17:30:03 -04:00
commit 8f360b74e2
5 changed files with 9 additions and 18 deletions

View file

@ -45,15 +45,15 @@
],
const_methods: [
// size_type shallow_size() const noexcept
{
name: "shallow_size",
doc: ["memory consumption for this instance"],
return_type: "size_type",
args: [],
const: true,
noexcept: true,
attributes: [],
},
// {
// name: "shallow_size",
// doc: ["memory consumption for this instance"],
// return_type: "size_type",
// args: [],
// const: true,
// noexcept: true,
// attributes: [],
// },
],
nonconst_methods: [
// Opaque shallow_move(obj<AAllocator>>) noexcept