summaryrefslogtreecommitdiff
path: root/src/T2DLL/LArray.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
commitc0c336500955a23e344651e5412c9d9d441ef4ee (patch)
tree790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/LArray.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r--src/T2DLL/LArray.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/T2DLL/LArray.h b/src/T2DLL/LArray.h
index 110e3bc..223e6a2 100644
--- a/src/T2DLL/LArray.h
+++ b/src/T2DLL/LArray.h
@@ -2,7 +2,7 @@
#include "common.h"
#include "LComparator.h"
-class DLL_EXPORT LArray {
+class AFX_EXT_CLASS LArray {
public:
LArray();
LArray(int size, LComparator* comparator = NULL, BOOL keepSorted = false);
@@ -18,15 +18,15 @@ public:
virtual void RemoveItemsAt(int count, int where);
virtual void Remove(const void* item);
virtual int FetchIndexOf(const void* item) const;
- virtual int FetchItemAt(int index, void* outItem) const;
+ virtual BOOL FetchItemAt(int index, void* outItem) const;
virtual void AssignItemsAt(int count, int where, void* data);
virtual void Add(const void* item);
void SetComparator(LComparator* comparator);
virtual void ReadAsWord(T2Archive& archive);
virtual void WriteAsWord(T2Archive& archive);
virtual void ReadAsDWord(T2Archive& archive);
+ virtual void WriteAsDWord(T2Archive& archive);
virtual void ReadAsChar(T2Archive& archive);
- virtual void WriteAsDWord(T2Archive& archive);
virtual void WriteAsChar(T2Archive& archive);
protected:
@@ -39,7 +39,7 @@ protected:
BOOL mKeepSorted;
};
-class DLL_EXPORT LArrayIterator {
+class AFX_EXT_CLASS LArrayIterator {
public:
LArrayIterator(const LArray& array, int index = 1);
LArrayIterator(const LArrayIterator& iter);