Soup Functions

RegUnionSoup


RegUnionSoup(appSymbol, soupDef)


RegUnionSoup takes two parameters:

appSymbol
The unique application symbol.

soupDef
A soup def as described in "Soup Defs" on page 250.

RegUnionSoup registers the specified soup def with the Newton OS. This function returns a union soup, so you do not need to call GetUnionSoup. In fact, for a brand-new soup, you'll definitely need to use the return result of RegUnionSoup; GetUnionSoup would return nil (for a brand-new soup, no member soups yet exist).


An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996