changeset 7442:da006c2fe55c

[project @ 2008-02-03 19:34:26 by jwe]
author jwe
date Sun, 03 Feb 2008 19:34:26 +0000
parents 0207ba146089
children d98dea7d16b0
files liboctave/Array-i.cc liboctave/Array.cc liboctave/ChangeLog
diffstat 3 files changed, 14 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/Array-i.cc
+++ b/liboctave/Array-i.cc
@@ -35,9 +35,15 @@
 
 INSTANTIATE_ARRAY_SORT (int);
 INSTANTIATE_ARRAY_SORT (long);
+#if defined (HAVE_LONG_LONG_INT)
+INSTANTIATE_ARRAY_SORT (long long);
+#endif
 
 INSTANTIATE_ARRAY_AND_ASSIGN (int, OCTAVE_API);
 INSTANTIATE_ARRAY_AND_ASSIGN (long, OCTAVE_API);
+#if defined (HAVE_LONG_LONG_INT)
+INSTANTIATE_ARRAY_AND_ASSIGN (long long, OCTAVE_API);
+#endif
 
 INSTANTIATE_ARRAY_ASSIGN (int, short, OCTAVE_API);
 INSTANTIATE_ARRAY_ASSIGN (int, char, OCTAVE_API);
--- a/liboctave/Array.cc
+++ b/liboctave/Array.cc
@@ -36,7 +36,6 @@
 
 #include "Array.h"
 #include "Array-util.h"
-#include "Range.h"
 #include "idx-vector.h"
 #include "lo-error.h"
 
--- a/liboctave/ChangeLog
+++ b/liboctave/ChangeLog
@@ -1,3 +1,11 @@
+2008-02-03  John W. Eaton  <jwe@octave.org>
+
+	* Array-i.cc: Also instantiate Arrays for long long type if it exists.
+
+2008-02-03  Michael Goffioul  <michael.goffioul@gmail.com>
+
+	* Array.cc: Don't include Range.h.
+
 2008-01-31  David Bateman  <dbateman@free.fr>
 
 	* oct-sort.cc: conversion of int to octave_idx_type where needed