refactor: retire GCObject.shallow_size()
Not needed. Rely on size stored in gc-owned object header
This commit is contained in:
parent
fefb15fbad
commit
8f360b74e2
5 changed files with 9 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue