@@ -74,15 +74,15 @@ typedef struct CLHHashThreadState {
7474/// @param hash A pointer to the hash-table instance.
7575/// @param num_cells The number of cells that the hash-table object is going to use.
7676/// @param nthreads The number of threads that will use the CLH-Hash object.
77- inline void CLHHashStructInit (CLHHash * hash , int num_cells , int nthreads );
77+ void CLHHashStructInit (CLHHash * hash , int num_cells , int nthreads );
7878
7979/// @brief This function should be called once before the thread applies any operation to the CLH-Hash combining object.
8080///
8181/// @param hash A pointer to the hash-table instance.
8282/// @param th_state A pointer to thread's local state of CLH-Hash.
8383/// @param num_cells The number of cells that the hash-table object is going to use.
8484/// @param pid The pid of the calling thread.
85- inline void CLHHashThreadStateInit (CLHHash * hash , CLHHashThreadState * th_state , int num_cells , int pid );
85+ void CLHHashThreadStateInit (CLHHash * hash , CLHHashThreadState * th_state , int num_cells , int pid );
8686
8787/// @brief This function tries to insert a <key,value> into the hash-table if there is enough space in the
8888/// corresponding cell. If the key already exists in the hash-table, CLHHashInsert updates the corresponding value.
@@ -93,7 +93,7 @@ inline void CLHHashThreadStateInit(CLHHash *hash, CLHHashThreadState *th_state,
9393/// @param value The value of the <key,value> pair that CLHHashInsert will try to insert into the hash-table.
9494/// @param pid The pid of the calling thread.
9595/// @return In case of success true is returned. In case that there is not enough space in the corresponding cell.
96- inline bool CLHHashInsert (CLHHash * hash , CLHHashThreadState * th_state , int64_t key , int64_t value , int pid );
96+ bool CLHHashInsert (CLHHash * hash , CLHHashThreadState * th_state , int64_t key , int64_t value , int pid );
9797
9898/// @brief This function searches for a specific key in the hash-table. In case that CLHHashSearch finds the key,
9999/// it returns true. Otherwise, it returns false.
@@ -103,7 +103,7 @@ inline bool CLHHashInsert(CLHHash *hash, CLHHashThreadState *th_state, int64_t k
103103/// @param key The key of the <key,value> pair that CLHHashSearch will search for.
104104/// @param pid The pid of the calling thread.
105105/// @return CLHHashSearch returns the value of the <key,value> pair in case that the key exists in the hash-table.
106- inline RetVal CLHHashSearch (CLHHash * hash , CLHHashThreadState * th_state , int64_t key , int pid );
106+ RetVal CLHHashSearch (CLHHash * hash , CLHHashThreadState * th_state , int64_t key , int pid );
107107
108108/// @brief This function searches for a specific key in the hash-table. In case that CLHHashDelete finds the key,
109109/// it deletes the corresponding <key,value>.
@@ -112,6 +112,6 @@ inline RetVal CLHHashSearch(CLHHash *hash, CLHHashThreadState *th_state, int64_t
112112/// @param th_state A pointer to thread's local state of CLH-Hash.
113113/// @param key The key of the <key,value> pair that CLHHashDelete will try to delete it.
114114/// @param pid The pid of the calling thread.
115- inline void CLHHashDelete (CLHHash * hash , CLHHashThreadState * th_state , int64_t key , int pid );
115+ void CLHHashDelete (CLHHash * hash , CLHHashThreadState * th_state , int64_t key , int pid );
116116
117117#endif
0 commit comments