Changeset 572 for trunk/ADOL-C/include


Ignore:
Timestamp:
Sep 10, 2014 9:27:40 AM (5 years ago)
Author:
kulshres
Message:

Change export binding of functions for Visual Studio

without these there is a compilation error in windows
and undeclared function errors.

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/include/adolc/param.h

    r566 r572  
    2222using std::logic_error;
    2323
     24class pdouble;
     25
     26ADOLC_DLL_EXPORT pdouble mkparam(double pval);
     27ADOLC_DLL_EXPORT pdouble getparam(locint index);
     28ADOLC_DLL_EXPORT locint mkparam_idx(double pval);
     29
    2430class ADOLC_DLL_EXPORT pdouble {
    2531    friend ADOLC_DLL_EXPORT class badouble;
     
    4349    pdouble(locint index);
    4450public:
    45     friend ADOLC_DLL_EXPORT pdouble mkparam(double pval);
    46     friend ADOLC_DLL_EXPORT pdouble getparam(locint index);
    47     friend ADOLC_DLL_EXPORT locint mkparam_idx(double pval);
     51    friend pdouble mkparam(double pval);
     52    friend pdouble getparam(locint index);
     53    friend locint mkparam_idx(double pval);
    4854    operator adub() const;
    4955
Note: See TracChangeset for help on using the changeset viewer.