From 6382382058e2be1e5757ffb324418c9cf7c9e9d3 Mon Sep 17 00:00:00 2001 From: Valk Richard Li <48872266+ValKmjolnir@users.noreply.github.com> Date: Thu, 8 Aug 2019 22:47:48 +0800 Subject: [PATCH] Delete nasal_hash.h --- nasal_hash.h | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 nasal_hash.h diff --git a/nasal_hash.h b/nasal_hash.h deleted file mode 100644 index d76270d..0000000 --- a/nasal_hash.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef __NASAL_HASH_H__ -#define __NASAL_HASH_H__ - -#include -#include -#include "nasal_list.h" - -namespace nasal -{ -#ifndef nil -#define nil -1 -#endif - -struct HashUnit -{ - std::string VarName; - std::string Type; - void *data; - HashUnit* next; -}; - -class NasalHash -{ - private: - HashUnit *head; - public: - NasalHash(); - NasalHash(NasalHash&); - ~NasalHash(); - void PrintHash(); - void Append(const char *,void *,const char *); - int Contains(const char *); - NasalList Keys(); - void Delete(const char *); - NasalHash& operator=(const NasalHash&); - HashUnit SearchElement(std::string &); -}; - -} - -#endif