Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r538 - branches/itanium2/Model/Groups


Chronological Thread 
  • From: abe@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r538 - branches/itanium2/Model/Groups
  • Date: Sat, 10 Sep 2005 15:50:17 -0600 (MDT)

Author: abe
Date: Sat Sep 10 15:50:17 2005
New Revision: 538

Modified:
   branches/itanium2/Model/Groups/varray.h
Log:

Changed prINTf to printf.

M    varray.h


Modified: branches/itanium2/Model/Groups/varray.h
==============================================================================
--- branches/itanium2/Model/Groups/varray.h     (original)
+++ branches/itanium2/Model/Groups/varray.h     Sat Sep 10 15:50:17 2005
@@ -117,7 +117,7 @@
                if (curLen < curMaxLen) {
                        array[curLen ++] = data;
                } else {
-                       // fprINTf(stderr, "cur:%d, max:%d\n", curLen, 
curMaxLen);
+                       // fprintf(stderr, "cur:%d, max:%d\n", curLen, 
curMaxLen);
                        curMaxLen = (INT)(curMaxLen*1.3f);
                        if (array)
                                array = (T*)realloc(array, 
curMaxLen*sizeof(T));
@@ -140,7 +140,7 @@
                //if (array && i < curLen)
                        return array[i];
                //else {
-               //      fprINTf(stderr, "VArray(%p)::[] reference out of 
bound (idx:%d size:%d)\n", this, i, curLen);
+               //      fprintf(stderr, "VArray(%p)::[] reference out of 
bound (idx:%d size:%d)\n", this, i, curLen);
                //      assert(0);
                //      return array[0];
                //}
@@ -149,7 +149,7 @@
        inline T & get(INT i) {
 #ifdef DEBUG_ARRAY
                if (i >= curLen) {
-                       fprINTf(stderr, "VArray(%p)::get() reference out of 
bound (%d).\n", this, i);
+                       fprintf(stderr, "VArray(%p)::get() reference out of 
bound (%d).\n", this, i);
                        assert(0);
                        return array[0];
                }
@@ -160,7 +160,7 @@
        inline T & _get(INT i) {
 #ifdef DEBUG_ARRAY
                if (i >= curLen) {
-                       fprINTf(stderr, "VArray(%p)::_get() reference out of 
bound (%d).\n", this, i);
+                       fprintf(stderr, "VArray(%p)::_get() reference out of 
bound (%d).\n", this, i);
                        assert(0);
                        return array[0];
                }
@@ -171,7 +171,7 @@
        inline void set(INT i, const T& elem) {
 #ifdef DEBUG_ARRAY
                if (array && i >= curLen) {
-                       fprINTf(stderr, "VArray(%p)::set() out of range 
(%d).\n", this, i);
+                       fprintf(stderr, "VArray(%p)::set() out of range 
(%d).\n", this, i);
                }
 #endif
                array[i] = elem;
@@ -191,7 +191,7 @@
        inline T *dupArray() {
                T *ret = (T*)malloc(curLen * sizeof(T));
                if (! ret) {
-                       fprINTf(stderr, "Cannot alloc mem in dupArray().\n");
+                       fprintf(stderr, "Cannot alloc mem in dupArray().\n");
                        return NULL;
                }
                memcpy(ret, array, curLen * sizeof(T));




  • [MANTA] r538 - branches/itanium2/Model/Groups, abe, 09/10/2005

Archive powered by MHonArc 2.6.16.

Top of page