~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/memory/root.h

  • Committer: Olaf van der Spek
  • Date: 2011-07-07 13:41:07 UTC
  • mto: This revision was merged to the branch mainline in revision 2385.
  • Revision ID: olafvdspek@gmail.com-20110707134107-6mi7pauiatxtf4oe
Rename strmake to strdup (standard name)

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>
25
26
#include <drizzled/visibility.h>
26
27
 
27
28
namespace drizzled {
110
111
  void* memdup(const void*, size_t);
111
112
  char* strdup(const char*);
112
113
 
113
 
  char* strmake(const char*, size_t);
114
 
  char* strmake(const std::string&);
115
 
  char* strmake(const String&);
 
114
  char* strdup(const char*, size_t);
 
115
  char* strdup(str_ref);
116
116
  void init(size_t block_size= ROOT_MIN_BLOCK_SIZE);
117
117
 
118
118
  inline bool alloc_root_inited()