changeset 752:3dece74ae10c

[project @ 1994-09-30 18:54:26 by jwe]
author jwe
date Fri, 30 Sep 1994 18:57:01 +0000
parents c9f3cb77478d
children b909cb750b35
files liboctave/Array.cc src/Queue.h src/SLQueue.h
diffstat 3 files changed, 2 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/Array.cc	Fri Sep 30 18:46:27 1994 +0000
+++ b/liboctave/Array.cc	Fri Sep 30 18:57:01 1994 +0000
@@ -1002,8 +1002,8 @@
     delete old_rep;
 }
 
-#if defined (__GNUG__) && defined (USE_EXTERNAL_TEMPLATES)
-#if defined (OCTAVE_SOURCE)
+#if defined (__GNUG__)
+#if defined (OCTAVE_SOURCE) && defined (USE_EXTERNAL_TEMPLATES)
 
 typedef Array<double> array_type_double;
 typedef Array2<double> array2_type_double;
@@ -1017,20 +1017,6 @@
 #include "tree-const.h"
 typedef Array<tree_constant> array_type_tree_constant;
 
-#elif defined (USER_TYPEDEFS)
-
-// Users can generate their own .o files with their own types, as many
-// times as they like.  USER_TYPEDEFS should be defined to be the name
-// of an include file that contains typdefs for the desired types.
-//
-// For example, if my-types.h contains typedefs for the Array types
-// you are interested in, you might compile this file with the command
-//
-//   g++ -fexternal-templates -DUSE_EXTERNAL_TEMPLATES \
-//       -DUSER_TYPEDEFS=\"my-types.h\"
-
-#include USER_TYPEDEFS
-
 #endif
 #endif
 
--- a/src/Queue.h	Fri Sep 30 18:46:27 1994 +0000
+++ b/src/Queue.h	Fri Sep 30 18:57:01 1994 +0000
@@ -20,10 +20,6 @@
 #ifndef _Queue_h
 #define _Queue_h 1
 
-#if defined (__GNUG__) && defined (USE_EXTERNAL_TEMPLATES)
-//#pragma interface
-#endif
-
 template <class T>
 class
 Queue
--- a/src/SLQueue.h	Fri Sep 30 18:46:27 1994 +0000
+++ b/src/SLQueue.h	Fri Sep 30 18:57:01 1994 +0000
@@ -20,10 +20,6 @@
 #if !defined (_SLQueue_h)
 #define _SLQueue_h 1
 
-#if defined (__GNUG__) && defined (USE_EXTERNAL_TEMPLATES)
-//#pragma interface
-#endif
-
 #include "SLList.h"
 #include "Queue.h"