Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows: SISLNEEDPROTOTYPES so that GO_API is used #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions include/sisl.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
# else
# define GO_API __declspec(dllimport)
# endif // __DLL__
# undef SISLNEEDPROTOTYPES
# define SISLNEEDPROTOTYPES
#else
# define GO_API
#endif // __BORLANDC__
Expand Down Expand Up @@ -915,14 +917,12 @@ void GO_API s1860(SISLSurf *,double [],int,double,double,
#ifndef S1870
extern
#endif
void
s1870(SISLSurf *ps1, double *pt1, int idim, double aepsge,
void GO_API s1870(SISLSurf *ps1, double *pt1, int idim, double aepsge,
int *jpt,double **gpar1,int *jcrv,SISLIntcurve ***wcurve,int *jstat);
#ifndef S1871
extern
#endif
void
s1871(SISLCurve *pc1, double *pt1, int idim, double aepsge,
void GO_API s1871(SISLCurve *pc1, double *pt1, int idim, double aepsge,
int *jpt,double **gpar1,int *jcrv,SISLIntcurve ***wcurve,int *jstat);
#ifndef S1920
extern
Expand Down