Ignore:
Timestamp:
Aug 24, 2011, 7:01:44 PM (13 years ago)
Author:
dkearney
Message:

adding a getFile function for rappture library and fortran bindings so fortran users no longer need to know the length of a string a user provides them as input, before compile time. they can now just dump the string into a file, and read the file as they are probably already used to doing. also fixed a bug in teh Rappture::Buffer dump function where it would correctly open a file pointer, but failed the check to see if the file pointer was opened.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/RpLibraryFStubs.h

    r1018 r2408  
    8282                            int path_len);
    8383
     84int rp_lib_get_file_ (      int* handle,
     85                            char* path,
     86                            char* fileName,
     87                            int path_len,
     88                            int fileName_len);
     89
    8490void rp_lib_put_str_ (      int* handle,
    8591                            char* path,
     
    223229                            int path_len);
    224230
     231int rp_lib_get_file__ (     int* handle,
     232                            char* path,
     233                            char* fileName,
     234                            int path_len,
     235                            int fileName_len);
     236
    225237void rp_lib_put_str__ (     int* handle,
    226238                            char* path,
     
    365377                            int path_len);
    366378
     379int RP_LIB_GET_FILE (       int* handle,
     380                            char* path,
     381                            char* fileName,
     382                            int path_len,
     383                            int fileName_len);
     384
    367385void RP_LIB_PUT_STR (       int* handle,
    368386                            char* path,
Note: See TracChangeset for help on using the changeset viewer.