| 21 | #include "piuAll.h" |
| 22 | |
| 23 | void PiuBehaviorOnCreate(void* it) |
| 24 | { |
| 25 | PiuContent* content = it; |
| 26 | if ((*content)->behavior) { |
| 27 | xsMachine* the = (*content)->the; |
| 28 | xsVar(0) = xsReference((*content)->behavior); |
| 29 | if (xsFindResult(xsVar(0), xsID_onCreate)) { |
| 30 | xsVar(1) = xsReference((*content)->reference); |
| 31 | (void)xsCallFunction3(xsResult, xsVar(0), xsVar(1), xsArg(0), xsArg(1)); |
| 32 | } |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | void PiuBehaviorOnDefaultID(void* it, xsIdentifier id) |
| 37 | { |
no outgoing calls
no test coverage detected