From 958135629935d96b11d3cfc35dddaf73992cdf74 Mon Sep 17 00:00:00 2001 From: Valk Richard Li <48872266+ValKmjolnir@users.noreply.github.com> Date: Thu, 26 Sep 2019 20:03:10 +0800 Subject: [PATCH] Delete nasal_list.h --- version0.2/nasal_list.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 version0.2/nasal_list.h diff --git a/version0.2/nasal_list.h b/version0.2/nasal_list.h deleted file mode 100644 index 11946eb..0000000 --- a/version0.2/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