Ignore:
Timestamp:
Nov 17, 2009 1:26:08 PM (10 years ago)
Author:
awalther
Message:

const declaration for preparation of ipopt interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/src/interfaces.h

    r42 r56  
    184184/* zos_forward(tag, m, n, keep, x[n], y[m])                                 */
    185185/* (defined in uni5_for.mc)                                                 */
    186 ADOLC_DLL_EXPORT int zos_forward(short,int,int,int,double*,double*);
     186ADOLC_DLL_EXPORT int zos_forward(short,int,int,int,const double*,double*);
    187187
    188188/* zos_forward_nk(tag, m, n, x[n], y[m])                                    */
     
    238238/* (defined in uni5_for.mc)                                                 */
    239239ADOLC_DLL_EXPORT int fov_forward(
    240     short, int,int,int,double*,double**,double*,double**);
     240    short, int,int,int,const double*,double**,double*,double**);
    241241ADOLC_DLL_EXPORT int fov_offset_forward(
    242242    short, int,int,int,int,double*,double**,double*,double**);
     
    294294
    295295ADOLC_DLL_EXPORT int int_forward_tight
    296 (short, int, int, int, double*, unsigned long int**, double*, unsigned long int**);
     296(short, int, int, int, const double*, unsigned long int**, double*, unsigned long int**);
    297297
    298298/****************************************************************************/
     
    303303
    304304ADOLC_DLL_EXPORT int indopro_forward_safe
    305 (short, int, int, double*, unsigned int**);
     305(short, int, int, const double*, unsigned int**);
    306306
    307307
     
    311311
    312312ADOLC_DLL_EXPORT int indopro_forward_tight
    313 (short, int, int, double*, unsigned int**);
     313(short, int, int, const double*, unsigned int**);
    314314
    315315/****************************************************************************/
     
    320320
    321321ADOLC_DLL_EXPORT int nonl_ind_forward_safe
    322 (short, int, double*, unsigned int**);
     322(short, int, const double*, unsigned int**);
    323323
    324324
     
    328328
    329329ADOLC_DLL_EXPORT int nonl_ind_forward_tight
    330 (short, int, double*, unsigned int**);
     330(short, int, const double*, unsigned int**);
    331331
    332332/****************************************************************************/
Note: See TracChangeset for help on using the changeset viewer.