fix whitespace and typo

This commit is contained in:
Axel Kohlmeyer
2021-03-09 16:00:14 -05:00
parent f0381b48ca
commit fb39ceaaeb
2 changed files with 3 additions and 6 deletions

View File

@ -27,12 +27,12 @@
namespace LAMMPS_NS
{
void lammpsplugin_load(const char *file, void *ptr)
{
LAMMPS *lmp = (LAMMPS *)ptr;
#if defined(WIN32)
utils::logmsg(lmp,"Loading of plugins not supported on Windows yet\n");
utils::logmesg(lmp,"Loading of plugins not supported on Windows yet\n");
#else
void *dso = dlopen(file,RTLD_NOW);
if (dso == nullptr) {
@ -71,6 +71,3 @@ namespace LAMMPS_NS
}
}
}

View File

@ -18,7 +18,7 @@
extern "C" {
#endif
typedef void *(lammpsplugin_factory)(void *);
typedef void *(lammpsplugin_factory)(void *);
typedef void (*lammpsplugin_initfunc)(void *);
typedef struct {