@@ -51,6 +51,7 @@ module xtb_api_results
5151! > Create new singlepoint results object
5252function newResults_api () result(vres) &
5353 & bind(C, name= " xtb_newResults" )
54+ ! DEC$ ATTRIBUTES DLLEXPORT :: newResults_api
5455 type (VResults), pointer :: res
5556 type (c_ptr) :: vres
5657
@@ -65,6 +66,7 @@ end function newResults_api
6566! > Delete singlepoint results object
6667subroutine delResults_api (vres ) &
6768 & bind(C, name= " xtb_delResults" )
69+ ! DEC$ ATTRIBUTES DLLEXPORT :: delResults_api
6870 type (c_ptr), intent (inout ) :: vres
6971 type (VResults), pointer :: res
7072
@@ -82,6 +84,7 @@ end subroutine delResults_api
8284! > Create copy from a singlepoint results object
8385function copyResults_api (vold ) result(vres) &
8486 & bind(C, name= " xtb_copyResults" )
87+ ! DEC$ ATTRIBUTES DLLEXPORT :: copyResults_api
8588 type (VResults), pointer :: res
8689 type (c_ptr) :: vres
8790 type (VResults), pointer :: old
@@ -103,6 +106,7 @@ end function copyResults_api
103106! > Query singlepoint results object for energy
104107subroutine getEnergy_api (venv , vres , dptr ) &
105108 & bind(C, name= " xtb_getEnergy" )
109+ ! DEC$ ATTRIBUTES DLLEXPORT :: getEnergy_api
106110 character (len=* ), parameter :: source = " xtb_api_getEnergy"
107111 type (c_ptr), value :: venv
108112 type (VEnvironment), pointer :: env
@@ -135,6 +139,7 @@ end subroutine getEnergy_api
135139! > Query singlepoint results object for gradient
136140subroutine getGradient_api (venv , vres , dptr ) &
137141 & bind(C, name= " xtb_getGradient" )
142+ ! DEC$ ATTRIBUTES DLLEXPORT :: getGradient_api
138143 character (len=* ), parameter :: source = " xtb_api_getGradient"
139144 type (c_ptr), value :: venv
140145 type (VEnvironment), pointer :: env
@@ -167,6 +172,7 @@ end subroutine getGradient_api
167172! > Query singlepoint results object for gradients on external charges
168173subroutine getPCGradient_api (venv , vres , dptr ) &
169174 & bind(C, name= " xtb_getPCGradient" )
175+ ! DEC$ ATTRIBUTES DLLEXPORT :: getPCGradient_api
170176 character (len=* ), parameter :: source = " xtb_api_getGradient"
171177 type (c_ptr), value :: venv
172178 type (VEnvironment), pointer :: env
@@ -199,6 +205,7 @@ end subroutine getPCGradient_api
199205! > Query singlepoint results object for virial
200206subroutine getVirial_api (venv , vres , dptr ) &
201207 & bind(C, name= " xtb_getVirial" )
208+ ! DEC$ ATTRIBUTES DLLEXPORT :: getVirial_api
202209 character (len=* ), parameter :: source = " xtb_api_getVirial"
203210 type (c_ptr), value :: venv
204211 type (VEnvironment), pointer :: env
@@ -231,6 +238,7 @@ end subroutine getVirial_api
231238! > Query singlepoint results object for dipole moment
232239subroutine getDipole_api (venv , vres , dptr ) &
233240 & bind(C, name= " xtb_getDipole" )
241+ ! DEC$ ATTRIBUTES DLLEXPORT :: getDipole_api
234242 character (len=* ), parameter :: source = " xtb_api_getDipole"
235243 type (c_ptr), value :: venv
236244 type (VEnvironment), pointer :: env
@@ -263,6 +271,7 @@ end subroutine getDipole_api
263271! > Query singlepoint results object for partial charges
264272subroutine getCharges_api (venv , vres , dptr ) &
265273 & bind(C, name= " xtb_getCharges" )
274+ ! DEC$ ATTRIBUTES DLLEXPORT :: getCharges_api
266275 character (len=* ), parameter :: source = " xtb_api_getCharges"
267276 type (c_ptr), value :: venv
268277 type (VEnvironment), pointer :: env
@@ -295,6 +304,7 @@ end subroutine getCharges_api
295304! > Query singlepoint results object for bond orders
296305subroutine getBondOrders_api (venv , vres , dptr ) &
297306 & bind(C, name= " xtb_getBondOrders" )
307+ ! DEC$ ATTRIBUTES DLLEXPORT :: getBondOrders_api
298308 character (len=* ), parameter :: source = " xtb_api_getBondOrders"
299309 type (c_ptr), value :: venv
300310 type (VEnvironment), pointer :: env
@@ -327,6 +337,7 @@ end subroutine getBondOrders_api
327337! > Query singlepoint results object for bond orders
328338subroutine getNao_api (venv , vres , iptr ) &
329339 & bind(C, name= " xtb_getNao" )
340+ ! DEC$ ATTRIBUTES DLLEXPORT :: getNao_api
330341 character (len=* ), parameter :: source = " xtb_api_getNao"
331342 type (c_ptr), value :: venv
332343 type (VEnvironment), pointer :: env
@@ -358,6 +369,7 @@ end subroutine getNao_api
358369! > Query singlepoint results object for orbital energies
359370subroutine getOrbitalEigenvalues_api (venv , vres , dptr ) &
360371 & bind(C, name= " xtb_getOrbitalEigenvalues" )
372+ ! DEC$ ATTRIBUTES DLLEXPORT :: getOrbitalEigenvalues_api
361373 character (len=* ), parameter :: source = " xtb_api_getOrbitalEigenvalues"
362374 type (c_ptr), value :: venv
363375 type (VEnvironment), pointer :: env
@@ -391,6 +403,7 @@ end subroutine getOrbitalEigenvalues_api
391403! > Query singlepoint results object for occupation numbers
392404subroutine getOrbitalOccupations_api (venv , vres , dptr ) &
393405 & bind(C, name= " xtb_getOrbitalOccupations" )
406+ ! DEC$ ATTRIBUTES DLLEXPORT :: getOrbitalOccupations_api
394407 character (len=* ), parameter :: source = " xtb_api_getOrbitalOccupations"
395408 type (c_ptr), value :: venv
396409 type (VEnvironment), pointer :: env
@@ -424,6 +437,7 @@ end subroutine getOrbitalOccupations_api
424437! > Query singlepoint results object for orbital coefficients
425438subroutine getOrbitalCoefficients_api (venv , vres , dptr ) &
426439 & bind(C, name= " xtb_getOrbitalCoefficients" )
440+ ! DEC$ ATTRIBUTES DLLEXPORT :: getOrbitalCoefficients_api
427441 character (len=* ), parameter :: source = " xtb_api_getOrbitalCoefficients"
428442 type (c_ptr), value :: venv
429443 type (VEnvironment), pointer :: env
0 commit comments