Ignore:
Timestamp:
03/07/13 18:16:49 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added the safe unregistration support to the C client interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/client/c/hu/varadiistvan/xplra/xplra.cc

    r55 r58  
    891891/*----------------------------------------------------------------------------*/
    892892
     893extern "C" int xplra_multi_unregister_safely(int bufferID)
     894{
     895    MultiBuffer* buffer = MultiBufferSlot::getValue(bufferID);
     896    return (buffer==0) ? -1 : (buffer->unregisterSafelyFromXPlane() ? 1 : 0);
     897}
     898
     899/*----------------------------------------------------------------------------*/
     900
    893901extern "C" int xplra_multi_execute(int bufferID)
    894902{
Note: See TracChangeset for help on using the changeset viewer.