Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
df265df8
"platforms/vscode:/vscode.git/clone" did not exist on "d0800362864f1c8b4bd32ffa5983d6dbb607dbbe"
Commit
df265df8
authored
Mar 26, 2013
by
Peter Eastman
Browse files
Fixed compilation error on Windows
parent
6f7c46b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
plugins/amoeba/serialization/src/AmoebaSerializationProxyRegistration.cpp
...erialization/src/AmoebaSerializationProxyRegistration.cpp
+3
-2
No files found.
plugins/amoeba/serialization/src/AmoebaSerializationProxyRegistration.cpp
View file @
df265df8
...
...
@@ -65,10 +65,11 @@
#include "openmm/serialization/AmoebaTorsionTorsionForceProxy.h"
#include "openmm/serialization/AmoebaVdwForceProxy.h"
#include "openmm/serialization/AmoebaWcaDispersionForceProxy.h"
#include "openmm/serialization/internal/windowsExportAmoebaSerialization.h"
#if defined(WIN32)
#include <windows.h>
extern
"C"
void
registerAmoebaSerializationProxies
();
extern
"C"
OPENMM_EXPORT_AMOEBA_SERIALIZATION
void
registerAmoebaSerializationProxies
();
BOOL
WINAPI
DllMain
(
HANDLE
hModule
,
DWORD
ul_reason_for_call
,
LPVOID
lpReserved
)
{
if
(
ul_reason_for_call
==
DLL_PROCESS_ATTACH
)
registerAmoebaSerializationProxies
();
...
...
@@ -80,7 +81,7 @@
using
namespace
OpenMM
;
extern
"C"
void
registerAmoebaSerializationProxies
()
{
extern
"C"
OPENMM_EXPORT_AMOEBA_SERIALIZATION
void
registerAmoebaSerializationProxies
()
{
SerializationProxy
::
registerProxy
(
typeid
(
AmoebaGeneralizedKirkwoodForce
),
new
AmoebaGeneralizedKirkwoodForceProxy
());
SerializationProxy
::
registerProxy
(
typeid
(
AmoebaBondForce
),
new
AmoebaBondForceProxy
());
SerializationProxy
::
registerProxy
(
typeid
(
AmoebaAngleForce
),
new
AmoebaAngleForceProxy
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment