null+****@clear*****
null+****@clear*****
2012年 4月 9日 (月) 17:28:16 JST
Kouhei Sutou 2012-04-09 17:28:16 +0900 (Mon, 09 Apr 2012)
New Revision: 85c9cdc1b0fe12c9f9db20d7e4e52e82c6a441f4
Log:
Use .cpp and .hpp
mrn_table.cc -> mrn_table.cpp
mrn_table.h -> mrn_table.hpp
Modified files:
Makefile.am
ha_mroonga.cpp
Renamed files:
mrn_table.cpp
(from mrn_table.cc)
mrn_table.hpp
(from mrn_table.h)
Modified: Makefile.am (+2 -2)
===================================================================
--- Makefile.am 2012-04-09 17:26:40 +0900 (9b559a0)
+++ Makefile.am 2012-04-09 17:28:16 +0900 (86d3725)
@@ -9,7 +9,7 @@ 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
@@ -17,7 +17,7 @@ noinst_HEADERS = \
sources = \
ha_mroonga.cpp \
mrn_sys.cpp \
- mrn_table.cc
+ mrn_table.cpp
libraries = \
$(top_builddir)/lib/libmroonga.la
Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp 2012-04-09 17:26:40 +0900 (9afbce2)
+++ ha_mroonga.cpp 2012-04-09 17:28:16 +0900 (58e3510)
@@ -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>
Renamed: mrn_table.cpp (+1 -1) 99%
===================================================================
--- mrn_table.cc 2012-04-09 17:26:40 +0900 (bab1620)
+++ mrn_table.cpp 2012-04-09 17:28:16 +0900 (6845152)
@@ -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
Renamed: mrn_table.hpp (+3 -3) 98%
===================================================================
--- mrn_table.h 2012-04-09 17:26:40 +0900 (5c4e587)
+++ mrn_table.hpp 2012-04-09 17:28:16 +0900 (cb7c741)
@@ -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>
@@ -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 */