From 53f3082b512966f9d12a3a25d9a0501498eb687b Mon Sep 17 00:00:00 2001 From: Valk Richard Li <48872266+ValKmjolnir@users.noreply.github.com> Date: Sat, 28 Sep 2019 18:30:40 +0800 Subject: [PATCH] Delete nasal_list.h --- version0.4/nasal_list.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 version0.4/nasal_list.h diff --git a/version0.4/nasal_list.h b/version0.4/nasal_list.h deleted file mode 100644 index 11946eb..0000000 --- a/version0.4/nasal_list.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef __NASAL_LIST_H__ -#define __NASAL_LIST_H__ - -#include "nasal_var.h" - -#define SORT_INT 1 -#define SORT_DBL 2 -#define SORT_STR 3 - -class nasal_hash; - -struct nasal_list_unit -{ - var list_var; - nasal_list_unit *next; -}; - -class nasal_list -{ - private: - nasal_list_unit *head; - public: - nasal_list(); - ~nasal_list(); - nasal_list& operator=(const nasal_list&); - void append(var&); - void setsize(const int); - nasal_list subvec(const int,const int); - var pop(); - nasal_list sort_list(const int,const int); -}; - -#endif