core/base (___yield): New extern

Rather than having the linker add this symbol opaquely, let's remove the
special case and generalize it.  There's nothing special about yield, except
historical precedent.

Systems can explicitly add it as a root in a common return map.

DEV-11864
main
Mike Gerwitz 2022-05-16 15:07:36 -04:00
parent 34eb994a0d
commit 5a866f7735
1 changed files with 3 additions and 1 deletions

View File

@ -221,7 +221,9 @@
<section title="Calculations">
These templates represent calculations that used to be defined as XSLT
tempaltes before TAME's template system existed.
templates before TAME's template system existed.
<extern name="___yield" type="rate" dtype="float" dim="0" />
<template name="_yield_"
desc="Final scalar result provided to caller">