removed some module specific functions from the header files

This commit is contained in:
hyung-hwan 2019-05-14 03:16:33 +00:00
parent 86c1819a1d
commit 4a897bddf8
4 changed files with 4 additions and 12 deletions

View File

@ -282,7 +282,7 @@ int qse_awk_mod_mpi (qse_awk_mod_t* mod, qse_awk_t* awk)
* and the module wasn't built. So you can't access mpi::xxx symbols either
*/
int qse_awk_mod_mpi_init (int argc, qse_achar_t* argv[])
QSE_EXPORT int qse_awk_mod_mpi_init (int argc, qse_achar_t* argv[])
{
int rx;
@ -296,7 +296,7 @@ int qse_awk_mod_mpi_init (int argc, qse_achar_t* argv[])
return rx;
}
void qse_awk_mod_mpi_fini (void)
QSE_EXPORT void qse_awk_mod_mpi_fini (void)
{
MPI_Finalize ();
}

View File

@ -35,10 +35,6 @@ extern "C" {
QSE_EXPORT int qse_awk_mod_mpi (qse_awk_mod_t* mod, qse_awk_t* awk);
QSE_EXPORT int qse_awk_mod_mpi_init (int argc, qse_achar_t* argv[]);
QSE_EXPORT void qse_awk_mod_mpi_fini (void);
#if defined(__cplusplus)
}
#endif

View File

@ -179,13 +179,13 @@ int qse_awk_mod_mysql (qse_awk_mod_t* mod, qse_awk_t* awk)
}
int qse_awk_mod_mysql_init (int argc, qse_achar_t* argv[])
QSE_EXPORT int qse_awk_mod_mysql_init (int argc, qse_achar_t* argv[])
{
if (mysql_library_init(argc, argv, QSE_NULL) != 0) return -1;
return 0;
}
void qse_awk_mod_mysql_fini (void)
QSE_EXPORT void qse_awk_mod_mysql_fini (void)
{
mysql_library_end ();
}

View File

@ -35,10 +35,6 @@ extern "C" {
QSE_EXPORT int qse_awk_mod_mysql (qse_awk_mod_t* mod, qse_awk_t* awk);
QSE_EXPORT int qse_awk_mod_mysql_init (int argc, qse_achar_t* argv[]);
QSE_EXPORT void qse_awk_mod_mysql_fini (void);
#if defined(__cplusplus)
}
#endif