*/
// Forward declaration.
+/// \cond
struct UHashtable;
typedef struct UHashtable UHashtable;
+/// \endcond
/**
* Build options for BytesTrieBuilder and CharsTrieBuilder.
public:
#ifndef U_HIDE_INTERNAL_API
/** @internal */
- static UBool hashNode(const void *node);
+ static int32_t hashNode(const void *node);
/** @internal */
static UBool equalNodes(const void *left, const void *right);
#endif /* U_HIDE_INTERNAL_API */
// Do not conditionalize the following with #ifndef U_HIDE_INTERNAL_API,
// it is needed for layout of other objects.
- /** @internal */
+ /**
+ * @internal
+ * \cond
+ */
class Node : public UObject {
public:
Node(int32_t initialHash) : hash(initialHash), offset(0) {}
int32_t length;
Node *next; // A branch sub-node.
};
+
#endif /* U_HIDE_INTERNAL_API */
+ /// \endcond
/** @internal */
virtual Node *createLinearMatchNode(int32_t i, int32_t unitIndex, int32_t length,