Ignore:
Timestamp:
11/12/20 12:06:26 (4 years ago)
Author:
ymipsl
Message:

Add get_current_context functionnality with string id, in fortran interface.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/interface/c/iccontext.cpp

    r1622 r1978  
    6868   CATCH_DUMP_STACK 
    6969 
     70   void cxios_context_get_id(XContextPtr context, char * _id, int _id_len) 
     71   TRY 
     72   { 
     73      string_copy(context->getId(),_id,_id_len); 
     74   } 
     75   CATCH_DUMP_STACK 
     76    
    7077   void cxios_context_set_current(XContextPtr context, bool withswap) 
    7178   TRY 
Note: See TracChangeset for help on using the changeset viewer.