| 956 | } |
| 957 | |
| 958 | void PiuCode_set_string(xsMachine *the) |
| 959 | { |
| 960 | PiuCode* self = PIU(Code, xsThis); |
| 961 | xsSlot* slot = PiuString(xsArg(0)); |
| 962 | xsStringValue string = PiuToString(slot); |
| 963 | (*self)->string = slot; |
| 964 | (*self)->length = fxUnicodeLength(string, (xsIntegerValue*)&((*self)->size)); |
| 965 | PiuCodeFormat(self); |
| 966 | PiuCodeSearch(self, (*self)->size); |
| 967 | PiuCodeSelect(self, (*self)->from, (*self)->to - (*self)->from); |
| 968 | PiuContentReflow(self, piuSizeChanged); |
| 969 | } |
| 970 | |
| 971 | void PiuCode_set_type(xsMachine *the) |
| 972 | { |
nothing calls this directly
no test coverage detected