14 lines
206 B
Plaintext
14 lines
206 B
Plaintext
var tally: int = 0;
|
|
|
|
fn onInit(node: opaque) {
|
|
print "child init called";
|
|
}
|
|
|
|
fn onStep(node: opaque) {
|
|
print "child step called";
|
|
print ++tally;
|
|
}
|
|
|
|
fn onFree(node: opaque) {
|
|
print "child free called";
|
|
} |