Navigation Menu

Skip to content

Commit

Permalink
Use .cpp and .hpp
Browse files Browse the repository at this point in the history
mrn_table.cc -> mrn_table.cpp
mrn_table.h  -> mrn_table.hpp
  • Loading branch information
kou committed Apr 9, 2012
1 parent de6ee2d commit 85c9cdc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Expand Up @@ -9,15 +9,15 @@ noinst_HEADERS = \
mrn_macro.h \
mrn_sys.hpp \
ha_mroonga.hpp \
mrn_table.h \
mrn_table.hpp \
mrn_err.h \
mrn_mysql.h \
mrn_mysql_compat.h

sources = \
ha_mroonga.cpp \
mrn_sys.cpp \
mrn_table.cc
mrn_table.cpp

libraries = \
$(top_builddir)/lib/libmroonga.la
Expand Down
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -41,7 +41,7 @@
#include <dirent.h>
#include <unistd.h>
#include "mrn_err.h"
#include "mrn_table.h"
#include "mrn_table.hpp"
#include "ha_mroonga.hpp"
#include <mrn_path_mapper.hpp>

Expand Down
2 changes: 1 addition & 1 deletion mrn_table.cc → mrn_table.cpp
Expand Up @@ -26,7 +26,7 @@
#endif
#include "mrn_err.h"
#include "mrn_sys.hpp"
#include "mrn_table.h"
#include "mrn_table.hpp"
#include "mrn_mysql_compat.h"

#if MYSQL_VERSION_ID >= 50603
Expand Down
6 changes: 3 additions & 3 deletions mrn_table.h → mrn_table.hpp
Expand Up @@ -18,8 +18,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

#ifndef _mrn_table_h
#define _mrn_table_h
#ifndef _mrn_table_hpp
#define _mrn_table_hpp

#include <groonga.h>

Expand Down Expand Up @@ -112,4 +112,4 @@ uint mrn_decode(char *buf_st, char *buf_ed, const char *st, const char *ed);
st_mrn_slot_data *mrn_get_slot_data(THD *thd, bool can_create);
void mrn_clear_alter_share(THD *thd);

#endif /* _mrn_table_h */
#endif /* _mrn_table_hpp */

0 comments on commit 85c9cdc

Please sign in to comment.