xo-object2 xo-gc xo-facet: codegen updates + IGCObject_DString
This commit is contained in:
parent
26fd1e66f0
commit
dcc42d08a2
1 changed files with 0 additions and 59 deletions
|
|
@ -1,59 +0,0 @@
|
|||
{
|
||||
mode: "facet",
|
||||
includes: [],
|
||||
namespace1: "xo",
|
||||
namespace2: "scm",
|
||||
facet: "GCObject",
|
||||
detail_subdir: "detail",
|
||||
brief: "xxx",
|
||||
using_doxygen: true,
|
||||
doc: [
|
||||
"GC hooks for collector-aware data"
|
||||
],
|
||||
types: [
|
||||
// using size_type = std::size_t
|
||||
{
|
||||
name: "size_type",
|
||||
doc: ["type for an amount of memory"],
|
||||
definition: "std::size_t",
|
||||
},
|
||||
],
|
||||
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: [],
|
||||
},
|
||||
// Opaque shallow_copy(obj<AAllocator>>) const noexcept
|
||||
{
|
||||
name: "shallow_copy",
|
||||
doc: ["copy instance using allocator"],
|
||||
return_type: "Opaque",
|
||||
args:[
|
||||
{types: "obj<AAllocator>", name: "mm"},
|
||||
],
|
||||
const: true,
|
||||
noexcept: true,
|
||||
attributes: [],
|
||||
},
|
||||
],
|
||||
nonconst_methods: [
|
||||
// size_type forward_children(obj<ACollector>) const noexcept
|
||||
{
|
||||
name: "size_type",
|
||||
doc: ["during GC: forward immdiate children"].
|
||||
return_type: "size_type",
|
||||
args: [
|
||||
{types: "obj<ACollector>", name: "gc"},
|
||||
],
|
||||
const: true,
|
||||
noexcept: true,
|
||||
attributes: [],
|
||||
},
|
||||
],
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue