Changeset 5312:27ec111dc8c5 in roaraudio for include/libroar/error.h


Ignore:
Timestamp:
11/30/11 01:05:41 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support for seperate contextes for roardl/plugins. Currently incudes error state and a global per handle data segment. This does not work for statically linked librarys (yet). support for per-context notify core needs to be added/completed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/error.h

    r5286 r5312  
    113113void   roar_err_to_errno(void); 
    114114 
     115// Resets the stored state to 'no error' state. This can be used 
     116// to init the state. 
     117int    roar_err_initstore(struct roar_error_state * state); 
     118 
    115119// store a error state (both libroar and system) 
    116120// returnes the error or ROAR_ERROR_NONE on success so it does not alter gloabl error state. 
Note: See TracChangeset for help on using the changeset viewer.