~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/memory/root.h

  • Committer: Mark Atwood
  • Date: 2011-08-01 05:22:14 UTC
  • mfrom: (1919.3.53 drizzle_pbms)
  • Revision ID: me@mark.atwood.name-20110801052214-3wdsx3xgld6b5v4f
mergeĀ lp:~barry-leslie/drizzle/drizzle_pbms

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <drizzled/common_fwd.h>
24
24
#include <drizzled/definitions.h>
25
 
#include <drizzled/util/data_ref.h>
26
25
#include <drizzled/visibility.h>
27
26
 
28
27
namespace drizzled {
111
110
  void* memdup(const void*, size_t);
112
111
  char* strdup(const char*);
113
112
 
114
 
  char* strdup(const char*, size_t);
115
 
  char* strdup(str_ref);
 
113
  char* strmake(const char*, size_t);
 
114
  char* strmake(const std::string&);
 
115
  char* strmake(const String&);
116
116
  void init(size_t block_size= ROOT_MIN_BLOCK_SIZE);
117
117
 
118
 
  bool alloc_root_inited() const
 
118
  inline bool alloc_root_inited()
119
119
  {
120
120
    return min_malloc != 0;
121
121
  }