sgscript - dynamic linkage, created first API function