All types defined in laygodef.h are defined as Pascal types in Laygo.pas. The type names are exactly the same.
In Delphi, result
is a Pascal keyword denoting the return
value of a function. For this reason, result
cannot be used as the name of a variable or parameter in a function.