~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_list.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems
 
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
26
26
#include <utility>
27
27
#include <algorithm>
28
28
#include "drizzled/memory/sql_alloc.h"
 
29
#include "drizzled/visibility.h"
 
30
 
29
31
 
30
32
namespace drizzled
31
33
{
103
105
};
104
106
 
105
107
 
106
 
extern list_node end_of_list;
 
108
extern DRIZZLED_API list_node end_of_list;
107
109
 
108
110
class base_list :public memory::SqlAlloc
109
111
{
431
433
  inline T *replace(T *)   { return (T*) 0; }
432
434
  inline T *replace(List<T> &) { return (T*) 0; }
433
435
  inline void remove(void)  { }
434
 
  inline void after(T *a)   { }
 
436
  inline void after(T *)   { }
435
437
  inline T** ref(void)      { return (T**) 0; }
436
438
 
437
439
public: