diff options
author | bubnikv <bubnikv@gmail.com> | 2019-07-25 15:52:51 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-07-25 15:52:51 +0300 |
commit | 34013ad14206dc92008d3504273ebae97a896cf4 (patch) | |
tree | da3fe8d3db8cc1c350a41dacdf89fa87d495be4c /xs | |
parent | 2bcdfc837848dbfd33bf071cbfc9ae301c49e35b (diff) |
Fixed broken Perl bindings.
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/Print.xsp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/xsp/Print.xsp b/xs/xsp/Print.xsp index df5f48587..74c0f4b0c 100644 --- a/xs/xsp/Print.xsp +++ b/xs/xsp/Print.xsp @@ -75,7 +75,7 @@ _constant() Ref<StaticPrintConfig> config() %code%{ RETVAL = const_cast<GCodeConfig*>(static_cast<const GCodeConfig*>(&THIS->config())); %}; Ref<PlaceholderParser> placeholder_parser() - %code%{ RETVAL = &THIS->placeholder_parser(); %}; + %code%{ RETVAL = const_cast<PlaceholderParser*>(&THIS->placeholder_parser()); %}; Ref<ExtrusionEntityCollection> skirt() %code%{ RETVAL = const_cast<ExtrusionEntityCollection*>(&THIS->skirt()); %}; Ref<ExtrusionEntityCollection> brim() |