Skip to content

Commit 3d566b0

Browse files
committed
Final removal of List class.
1 parent be6742d commit 3d566b0

4 files changed

Lines changed: 6 additions & 158 deletions

File tree

Makefile.am

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ core_SOURCES = \
246246
src/core/core.h \
247247
src/core/util.h \
248248
src/core/array.h \
249-
src/core/list.h \
250249
src/core/vector.h \
251250
src/core/recarray.h \
252251
src/core/matrix.h \

src/core/core.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626
#include "util.h"
2727
#include "array.h"
28-
#include "list.h"
2928
#include "recarray.h"
3029
#include "vector.h"
3130
#include "matrix.h"

src/core/list.h

Lines changed: 0 additions & 144 deletions
This file was deleted.

src/pygambit/gambit.pxd

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ cdef extern from "core/array.h":
4242
iterator end() except +
4343

4444

45-
cdef extern from "core/list.h":
46-
cdef cppclass c_List "List"[T]:
47-
T & getitem "operator[]"(int) except +
48-
int size() except +
49-
void push_back(T) except +
50-
5145
cdef extern from "games/game.h":
5246
cdef cppclass c_GameRep "GameRep"
5347
cdef cppclass c_GameStrategyRep "GameStrategyRep"
@@ -463,22 +457,22 @@ cdef extern from "util.h":
463457
c_GameAction, c_Rational) except +
464458

465459
shared_ptr[c_MixedStrategyProfile[double]] copyitem_list_mspd "sharedcopyitem"(
466-
c_List[c_MixedStrategyProfile[double]], int
460+
stdlist[c_MixedStrategyProfile[double]], int
467461
) except +
468462
shared_ptr[c_MixedStrategyProfile[c_Rational]] copyitem_list_mspr "sharedcopyitem"(
469-
c_List[c_MixedStrategyProfile[c_Rational]], int
463+
stdlist[c_MixedStrategyProfile[c_Rational]], int
470464
) except +
471465
shared_ptr[c_MixedBehaviorProfile[double]] copyitem_list_mbpd "sharedcopyitem"(
472-
c_List[c_MixedBehaviorProfile[double]], int
466+
stdlist[c_MixedBehaviorProfile[double]], int
473467
) except +
474468
shared_ptr[c_MixedBehaviorProfile[c_Rational]] copyitem_list_mbpr "sharedcopyitem"(
475-
c_List[c_MixedBehaviorProfile[c_Rational]], int
469+
stdlist[c_MixedBehaviorProfile[c_Rational]], int
476470
) except +
477471
shared_ptr[c_LogitQREMixedStrategyProfile] copyitem_list_qrem "sharedcopyitem"(
478-
c_List[c_LogitQREMixedStrategyProfile], int
472+
stdlist[c_LogitQREMixedStrategyProfile], int
479473
) except +
480474
shared_ptr[c_LogitQREMixedBehaviorProfile] copyitem_list_qreb "sharedcopyitem"(
481-
c_List[c_LogitQREMixedBehaviorProfile], int
475+
stdlist[c_LogitQREMixedBehaviorProfile], int
482476
) except +
483477

484478

0 commit comments

Comments
 (0)