[Groonga-commit] groonga/groonga [master] win32: export some functions required by mroonga

Back to archive index

HAYASHI Kentaro null+****@clear*****
Fri Oct 19 11:16:58 JST 2012


HAYASHI Kentaro	2012-10-19 11:16:58 +0900 (Fri, 19 Oct 2012)

  New Revision: 9452d2cffa08de1d80124d916bb7e80a9e274760
  https://github.com/groonga/groonga/commit/9452d2cffa08de1d80124d916bb7e80a9e274760

  Log:
    win32: export some functions required by mroonga

  Modified files:
    include/groonga/plugin.h

  Modified: include/groonga/plugin.h (+3 -3)
===================================================================
--- include/groonga/plugin.h    2012-10-19 00:24:39 +0900 (bea8d48)
+++ include/groonga/plugin.h    2012-10-19 11:16:58 +0900 (b434d34)
@@ -155,8 +155,8 @@ void grn_plugin_mutex_unlock(grn_ctx *ctx, grn_plugin_mutex *mutex);
   grn_plugin_proc_alloc() allocates a `grn_obj` object.
   You can use it in function that is registered as GRN_PROC_FUNCTION.
  */
-grn_obj *grn_plugin_proc_alloc(grn_ctx *ctx, grn_user_data *user_data,
-                               grn_id domain, grn_obj_flags flags);
+GRN_PLUGIN_EXPORT grn_obj *grn_plugin_proc_alloc(grn_ctx *ctx, grn_user_data *user_data,
+                                                 grn_id domain, grn_obj_flags flags);
 
 /*
   grn_plugin_win32_base_dir() returns the groonga install directory.
@@ -166,7 +166,7 @@ grn_obj *grn_plugin_proc_alloc(grn_ctx *ctx, grn_user_data *user_data,
 
   It only works on Windows. It returns `NULL` on other platforms.
  */
-const char *grn_plugin_win32_base_dir(void);
+GRN_PLUGIN_EXPORT const char *grn_plugin_win32_base_dir(void);
 
 
 #ifdef __cplusplus
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index