| 1241 | } |
| 1242 | |
| 1243 | void PiuText_beginSpan(xsMachine *the) |
| 1244 | { |
| 1245 | PiuText* self = PIU(Text, xsThis); |
| 1246 | xsIntegerValue c = xsToInteger(xsArgc); |
| 1247 | PiuStyle* style = ((c > 0) && xsTest(xsArg(0))) ? PIU(Style, xsArg(0)) : NULL; |
| 1248 | PiuTextLink* link = ((c > 1) && xsTest(xsArg(1))) ? PIU(TextLink, xsArg(1)) : NULL; |
| 1249 | if ((*self)->nodeOffset == -1) |
| 1250 | xsUnknownError("span outside block"); |
| 1251 | PiuTextBeginNode(self, piuTextNodeBeginSpanKind, style, link); |
| 1252 | } |
| 1253 | |
| 1254 | void PiuText_concat(xsMachine *the) |
| 1255 | { |
nothing calls this directly
no test coverage detected