diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2021-05-05 17:21:55 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2021-05-05 17:21:55 +0300 |
commit | 714149dab2466e5f1a9e26a0efa0b3daaf425d89 (patch) | |
tree | 1f1ff628c56553fc5495f5a78acaad15e069519c /xs | |
parent | d21b9aa089e23d347b1c4b7e15eee92708c9bdd9 (diff) |
WIP: Moving ownership of PrintRegions to PrintObjects.
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/Print.xsp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp index a7b4e562f..6ac387b60 100644 --- a/xs/xsp/Print.xsp +++ b/xs/xsp/Print.xsp @@ -98,9 +98,9 @@ _constant() %code%{ RETVAL = THIS->objects().size(); %}; PrintRegionPtrs* regions() - %code%{ RETVAL = const_cast<PrintRegionPtrs*>(&THIS->regions_mutable()); %}; + %code%{ RETVAL = const_cast<PrintRegionPtrs*>(&THIS->print_regions_mutable()); %}; Ref<PrintRegion> get_region(int idx) - %code%{ RETVAL = THIS->regions_mutable()[idx]; %}; + %code%{ RETVAL = THIS->print_regions_mutable()[idx]; %}; size_t region_count() %code%{ RETVAL = THIS->regions().size(); %}; |