petdance/scratch — Issue #61: CONST_STRING in a dynop
Author: petdance
Created: 2011-11-01 04:24:44+00:00
State: open

Hi,

CONST_STRING works nicely in dynpmcs, but today I tried to use it in a dynop and it doesn't seem to be available there (just says its an undefined symbol and fails to link). While my op isn't an especially performance critical one (I'm writing an op 'cus I need to get at guts more than for performance), so using string_from_literal isn't so bad, it would be nice to have been able to use CONST_STRING in there (and others may have an op that will run lots and not creating more short-lived GC-able objects is always a good thing).

Thanks,

Jonathan