*** empty log message ***
This commit is contained in:
parent
30448cd5c2
commit
a7ec9a7103
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.1 2004/06/24 14:32:45 ponchio
|
||||||
|
Moved from wrap/nexus
|
||||||
|
|
||||||
Revision 1.1 2004/06/24 14:18:58 ponchio
|
Revision 1.1 2004/06/24 14:18:58 ponchio
|
||||||
Created
|
Created
|
||||||
|
|
||||||
|
@ -35,7 +38,6 @@ Created
|
||||||
|
|
||||||
#include "vfile.h"
|
#include "vfile.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
namespace nxs {
|
namespace nxs {
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
History
|
History
|
||||||
|
|
||||||
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
||||||
|
Revision 1.2 2004/06/25 16:47:13 ponchio
|
||||||
|
Various debug
|
||||||
|
|
||||||
Revision 1.1 2004/06/24 14:32:45 ponchio
|
Revision 1.1 2004/06/24 14:32:45 ponchio
|
||||||
Moved from wrap/nexus
|
Moved from wrap/nexus
|
||||||
|
|
||||||
|
@ -146,6 +149,7 @@ template <class T> class VFile {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Resize(unsigned int elem) {
|
void Resize(unsigned int elem) {
|
||||||
|
assert(fp);
|
||||||
if(elem > n_elements) {
|
if(elem > n_elements) {
|
||||||
if(-1 == fseek(fp, elem*sizeof(T) -1, SEEK_SET)) {
|
if(-1 == fseek(fp, elem*sizeof(T) -1, SEEK_SET)) {
|
||||||
assert(0 && "Could not resize");
|
assert(0 && "Could not resize");
|
||||||
|
|
Loading…
Reference in New Issue