/*****************************************************************************/
/* */
-/* codelab.h */
+/* codelab.h */
/* */
-/* Code label structure */
+/* Code label structure */
/* */
/* */
/* */
/*****************************************************************************/
-/* Forwards */
+/* Forwards */
/*****************************************************************************/
/*****************************************************************************/
-/* struct CodeLabel */
+/* struct CodeLabel */
/*****************************************************************************/
/* Label structure */
typedef struct CodeLabel CodeLabel;
struct CodeLabel {
- CodeLabel* Next; /* Next in hash list */
- char* Name; /* Label name */
- unsigned Hash; /* Hash over the name */
- struct CodeEntry* Owner; /* Owner entry */
- Collection JumpFrom; /* Entries that jump here */
+ CodeLabel* Next; /* Next in hash list */
+ char* Name; /* Label name */
+ unsigned Hash; /* Hash over the name */
+ struct CodeEntry* Owner; /* Owner entry */
+ Collection JumpFrom; /* Entries that jump here */
};
/*****************************************************************************/
-/* Code */
+/* Code */
/*****************************************************************************/
return CollCount (&L->JumpFrom);
}
#else
-# define CL_GetRefCount(L) CollCount (&(L)->JumpFrom)
+# define CL_GetRefCount(L) CollCount (&(L)->JumpFrom)
#endif
#if defined(HAVE_INLINE)
return CollAt (&L->JumpFrom, Index);
}
#else
-# define CL_GetRef(L, Index) CollAt (&(L)->JumpFrom, (Index))
+# define CL_GetRef(L, Index) CollAt (&(L)->JumpFrom, (Index))
#endif
void CL_AddRef (CodeLabel* L, struct CodeEntry* E);