~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_strtoll10.cc

  • Committer: Monty Taylor
  • Date: 2010-02-04 08:14:46 UTC
  • mfrom: (1277.2.1 build) (1280.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1283.
  • Revision ID: mordred@inaugust.com-20100204081446-ldh9m486va30uap6
Put everything in drizzled into drizzled namespace.
Put internal stuff into drizzled::internal namespace.
Removed some cruft.
Now every symbol that is shipped in a header is in the drizzled namespace
and everything in the server that's not shipped is labeled internal. woot. 
Removed a lot of the extra extern "C" stuff that was in there. Less ugliness for
internal callbacks now for Sun Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#include "drizzled/internal/m_string.h"
18
18
#include <errno.h>
19
19
 
 
20
namespace drizzled
 
21
{
 
22
namespace internal
 
23
{
 
24
 
20
25
#define MAX_NEGATIVE_NUMBER     ((uint64_t) 0x8000000000000000LL)
21
26
#define INIT_CNT  9
22
27
#define LFACTOR   1000000000ULL
234
239
  *endptr= (char *) nptr;
235
240
  return 0;
236
241
}
 
242
 
 
243
} /* namespace internal */
 
244
} /* namespace drizzled */