Index: generic/nsfObj.c =================================================================== diff -u -N -r42dbfd5df1fa6248468d00c7d68fd699a5a69e64 -r84ebec01747d68ec9ab8310c0aba7dfd6a2af522 --- generic/nsfObj.c (.../nsfObj.c) (revision 42dbfd5df1fa6248468d00c7d68fd699a5a69e64) +++ generic/nsfObj.c (.../nsfObj.c) (revision 84ebec01747d68ec9ab8310c0aba7dfd6a2af522) @@ -71,7 +71,14 @@ }; /* - * freeIntRepProc + *---------------------------------------------------------------------- + * + * MethodFreeInternalRep -- + * + * Frees internal representation. Implementation of + * freeIntRepProc. + * + *---------------------------------------------------------------------- */ static void MethodFreeInternalRep( @@ -96,7 +103,14 @@ } /* - * dupIntRepProc + *---------------------------------------------------------------------- + * + * MethodDupInternalRep -- + * + * Duplicates internal representation. Implementation of + * dupIntRepProc. + * + *---------------------------------------------------------------------- */ static void MethodDupInternalRep( @@ -120,9 +134,9 @@ /* *---------------------------------------------------------------------- * - * NsfMethodObjSet -- + * NsfMethodObjSet -- * - * Convert the provided Tcl_Obj into the type of NsfMethodContext. + * Converts the provided Tcl_Obj into the type of NsfMethodContext. * *---------------------------------------------------------------------- */ @@ -209,7 +223,14 @@ }; /* - * freeIntRepProc + *---------------------------------------------------------------------- + * + * FlagFreeInternalRep -- + * + * Frees internal representation. Implementation of + * freeIntRepProc. + * + *---------------------------------------------------------------------- */ static void FlagFreeInternalRep( @@ -239,7 +260,14 @@ } /* - * dupIntRepProc + *---------------------------------------------------------------------- + * + * FlagDupInternalRep -- + * + * Duplicates internal representation. Implementation of + * dupIntRepProc. + * + *---------------------------------------------------------------------- */ static void FlagDupInternalRep( @@ -355,7 +383,14 @@ }; /* - * freeIntRepProc + *---------------------------------------------------------------------- + * + * MixinregFreeInternalRep -- + * + * Frees internal representation. Implementation of + * freeIntRepProc. + * + *---------------------------------------------------------------------- */ static void MixinregFreeInternalRep( @@ -384,7 +419,14 @@ } /* - * dupIntRepProc + *---------------------------------------------------------------------- + * + * MixinregDupInternalRep -- + * + * Duplicates internal representation. Implementation of + * dupIntRepProc. + * + *---------------------------------------------------------------------- */ static void MixinregDupInternalRep( @@ -403,23 +445,29 @@ memcpy(dstPtr, srcPtr, sizeof(Mixinreg)); /* - * increment refcounts + * Increment refcounts. */ NsfObjectRefCountIncr(&(srcPtr->mixin)->object); if (srcPtr->guardObj != NULL) { INCR_REF_COUNT2("mixinRegPtr->guardObj", srcPtr->guardObj); } /* - * update destination obj + * Update destination obj. */ dstObjPtr->typePtr = srcObjPtr->typePtr; dstObjPtr->internalRep.twoPtrValue.ptr1 = dstPtr; } - /* - * setFromAnyProc + *---------------------------------------------------------------------- + * + * MixinregSetFromAny -- + * + * Sets the type and internal representation when converting to + * this object type. Implementation of setFromAnyProc. + * + *---------------------------------------------------------------------- */ static int MixinregSetFromAny( @@ -634,9 +682,15 @@ FilterregSetFromAny /* setFromAnyProc */ }; - /* - * freeIntRepProc + *---------------------------------------------------------------------- + * + * FilterregFreeInternalRep -- + * + * Frees internal representation. Implementation of + * freeIntRepProc. + * + *---------------------------------------------------------------------- */ static void FilterregFreeInternalRep( @@ -665,7 +719,14 @@ } /* - * dupIntRepProc + *---------------------------------------------------------------------- + * + * FilterregDupInternalRep -- + * + * Duplicates internal representation. Implementation of + * dupIntRepProc. + * + *---------------------------------------------------------------------- */ static void FilterregDupInternalRep( @@ -701,7 +762,14 @@ } /* - * setFromAnyProc + *---------------------------------------------------------------------- + * + * FilterregSetFromAny -- + * + * Sets the type and internal representation when converting to + * this object type. Implementation of setFromAnyProc. + * + *---------------------------------------------------------------------- */ static int FilterregSetFromAny(