/[hyperestraier_wrappers]/trunk/perl/HyperEstraierWrapper.cpp
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/perl/HyperEstraierWrapper.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31 by dpavlin, Sat Sep 10 08:22:04 2005 UTC revision 32 by dpavlin, Tue Oct 11 14:04:20 2005 UTC
# Line 13  Line 13 
13  #include <estnode.h>  #include <estnode.h>
14    
15  /* backward compatibility for 0.5.4 */  /* backward compatibility for 0.5.4 */
16    /*
17  #ifndef ESTCONDAGITO  #ifndef ESTCONDAGITO
18  #define ESTCONDAGITO ESTCONDAGIT  #define ESTCONDAGITO ESTCONDAGIT
19  #endif  #endif
20    */
21    
22  namespace estraier {  namespace estraier {
23    
# Line 415  namespace estraier { Line 417  namespace estraier {
417                          if (!db) throw IOError("closed database");                          if (!db) throw IOError("closed database");
418                          return est_mtdb_size(db);                          return est_mtdb_size(db);
419                  }                  }
420                  void set_cache_size(size_t size, int anum, int tnum) {                  void set_cache_size(size_t size, int anum, int tnum, int rnum) {
421                          /**                          /**
422                           * set the maximum size of the cache memory of a database                           * set the maximum size of the cache memory of a database
423                           */                           */
424                          if (!db) throw IOError("closed database");                          if (!db) throw IOError("closed database");
425                          est_mtdb_set_cache_size(db, size, anum, tnum);                          est_mtdb_set_cache_size(db, size, anum, tnum, rnum);
426                  }                  }
427                  void set_special_cache(const char *name, int num) {                  void set_special_cache(const char *name, int num) {
428                          /**                          /**

Legend:
Removed from v.31  
changed lines
  Added in v.32

  ViewVC Help
Powered by ViewVC 1.1.26