ilEquivalentSpecializers
ilEquivalentSpecializers(g_genericFunctionObj g_specObj1 g_specObj2) =>t/nil
Description
Defines a method to check if two specializers are equal. This is required during method redefinition.
Arguments
|
An instance of the ilGenericFunction class or a proxy class derived from it. |
|
|
The second instance of the specializer class to be compared. |
Value Returned
Examples
An example of ilEquivalentSpecializer to compare that the objType is identical for two instances, needed for method redefinition:
defmethod(ilEquivalentSpecializers (_gf (spec1 abDbFigSpecializer)
(spec2 abDbFigSpecializer))
spec1->objType==spec2->objType
)
Related Topics
Examples of How to use Custom Specializers in SKILL++ Methods
Return to top