Changeset 4998:b404387a2080 in roaraudio


Ignore:
Timestamp:
05/23/11 22:06:08 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Updated roar_panic() (Closes: #132)

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r4996 r4998  
     1v. 0.4beta7 - ? 
     2        * Updated roar_panic() (Closes: #132) 
     3 
    14v. 0.4beta6 - Mon May 23 2011 19:49 CEST 
    25        Prereleases: 0: Tue May 17 2011 16:33 CEST; 
  • include/libroar/libroar.h

    r4976 r4998  
    207207 ROAR_FATAL_ERROR_NONE = 0,          // ??? 
    208208 ROAR_FATAL_ERROR_UNKNOWN,           // Unknown error 
     209#define ROAR_FATAL_ERROR_UNKNOWN ROAR_FATAL_ERROR_UNKNOWN 
    209210 ROAR_FATAL_ERROR_MEMORY_CORRUPTION, // some structure has been corrupted 
     211#define ROAR_FATAL_ERROR_MEMORY_CORRUPTION ROAR_FATAL_ERROR_MEMORY_CORRUPTION 
    210212 ROAR_FATAL_ERROR_MEMORY_CORRUPTION_GUARD, // memory was corruppted but no data has been harmed (yet) 
    211  ROAR_FATAL_ERROR_CPU_FAILTURE,      // CPU general CPU failture 
     213#define ROAR_FATAL_ERROR_MEMORY_CORRUPTION_GUARD ROAR_FATAL_ERROR_MEMORY_CORRUPTION_GUARD 
     214 ROAR_FATAL_ERROR_CPU_FAILURE,      // CPU general CPU failure 
     215#define ROAR_FATAL_ERROR_CPU_FAILURE ROAR_FATAL_ERROR_CPU_FAILURE 
     216 ROAR_FATAL_ERROR_CPU_FAILTURE = ROAR_FATAL_ERROR_CPU_FAILURE, 
     217 ROAR_FATAL_ERROR_MEMORY_USED_AFTER_FREE, 
     218#define ROAR_FATAL_ERROR_MEMORY_USED_AFTER_FREE ROAR_FATAL_ERROR_MEMORY_USED_AFTER_FREE 
     219 ROAR_FATAL_ERROR_MEMORY_DOUBLE_FREE, 
     220#define ROAR_FATAL_ERROR_MEMORY_DOUBLE_FREE ROAR_FATAL_ERROR_MEMORY_DOUBLE_FREE 
    212221 
    213222 ROAR_FATAL_ERROR_EOL 
  • include/libroar/roarfeatures.h

    r4808 r4998  
    4646#define ROAR_FT_FUNC_CONNECT2 
    4747#define ROAR_FT_FUNC_SIMPLE_CONNECT2 
     48#define ROAR_FT_FUNC_PANIC 
    4849#define ROAR_FT_FEATURE_VS 
    4950#define ROAR_FT_FEATURE_VS_FILE 
  • libroar/libroar.c

    r4976 r4998  
    180180    errname = "Memory corruption"; 
    181181   break; 
    182   case ROAR_FATAL_ERROR_CPU_FAILTURE: 
    183     errname = "CPU failture, replace hardware"; 
     182  case ROAR_FATAL_ERROR_CPU_FAILURE: 
     183    errname = "CPU failure, replace hardware"; 
     184   break; 
     185  case ROAR_FATAL_ERROR_MEMORY_USED_AFTER_FREE: 
     186    errname = "Memory used after free"; 
     187   break; 
     188  case ROAR_FATAL_ERROR_MEMORY_DOUBLE_FREE: 
     189    errname = "Memory double freed"; 
    184190   break; 
    185191  default: 
Note: See TracChangeset for help on using the changeset viewer.