User primitives are stored in shared libraries. A shared library called sample exists in the samples\primitiv directory. (For example, for Microsoft Windows, the primitiv subdirectory contains sample.dll.) The name of the sample library must be specified in the Smalltalk primitive declarations.sample.c contains (at least) the following:In Smalltalk, add the following methods to UndefinedObject:
|