| 1230 | } |
| 1231 | |
| 1232 | void PiuText_beginBlock(xsMachine *the) |
| 1233 | { |
| 1234 | PiuText* self = PIU(Text, xsThis); |
| 1235 | xsIntegerValue c = xsToInteger(xsArgc); |
| 1236 | PiuStyle* style = ((c > 0) && xsTest(xsArg(0))) ? PIU(Style, xsArg(0)) : NULL; |
| 1237 | PiuTextLink* link = ((c > 1) && xsTest(xsArg(1))) ? PIU(TextLink, xsArg(1)) : NULL; |
| 1238 | if ((*self)->nodeOffset != -1) |
| 1239 | xsUnknownError("block inside block"); |
| 1240 | PiuTextBeginNode(self, piuTextNodeBeginBlockKind, style, link); |
| 1241 | } |
| 1242 | |
| 1243 | void PiuText_beginSpan(xsMachine *the) |
| 1244 | { |
nothing calls this directly
no test coverage detected