Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleExample
getOtherPort(int port) : int {
	return (port+1)%2;
}
 
ao getBaseTimeUnit : TimeUnit {
	SDFSchema schema = getInputSchema(0);
	SDFConstraint constraint = schema.getConstraint(SDFConstraint::BASE_TIME_UNIT);
	return constraint.value;
}
 
po pintping(IPunctuation punctuation) {
	sendPunctuation(punctuation);
}

...