/[pcre]/code/trunk/sljit/sljitConfigInternal.h
ViewVC logotype

Diff of /code/trunk/sljit/sljitConfigInternal.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1195 by zherczeg, Thu Nov 1 15:21:27 2012 UTC revision 1215 by zherczeg, Fri Nov 9 08:13:13 2012 UTC
# Line 413  SLJIT_API_FUNC_ATTRIBUTE void sljit_free Line 413  SLJIT_API_FUNC_ATTRIBUTE void sljit_free
413  #define SLJIT_FREE_EXEC(ptr) sljit_free_exec(ptr)  #define SLJIT_FREE_EXEC(ptr) sljit_free_exec(ptr)
414  #endif  #endif
415    
416  #if (defined SLJIT_DEBUG && SLJIT_DEBUG) || (defined SLJIT_VERBOSE && SLJIT_VERBOSE)  #if (defined SLJIT_VERBOSE && SLJIT_VERBOSE)
417  #include <stdio.h>  #include <stdio.h>
418  #endif  #endif
419    
420  #if (defined SLJIT_DEBUG && SLJIT_DEBUG)  #if (defined SLJIT_DEBUG && SLJIT_DEBUG)
421    
422  /* Feel free to redefine these two macros. */  #if !defined(SLJIT_ASSERT) || !defined(SLJIT_ASSERT_STOP)
423  #ifndef SLJIT_ASSERT  
424    /* SLJIT_HALT_PROCESS must halt the process. */
425    #ifndef SLJIT_HALT_PROCESS
426    #include <stdlib.h>
427    
428  #define SLJIT_HALT_PROCESS() \  #define SLJIT_HALT_PROCESS() \
429          *((sljit_si*)0) = 0          abort();
430    #endif /* !SLJIT_HALT_PROCESS */
431    
432    #include <stdio.h>
433    
434    #endif /* !SLJIT_ASSERT || !SLJIT_ASSERT_STOP */
435    
436    /* Feel free to redefine these two macros. */
437    #ifndef SLJIT_ASSERT
438    
439  #define SLJIT_ASSERT(x) \  #define SLJIT_ASSERT(x) \
440          do { \          do { \
# Line 447  SLJIT_API_FUNC_ATTRIBUTE void sljit_free Line 458  SLJIT_API_FUNC_ATTRIBUTE void sljit_free
458    
459  #else /* (defined SLJIT_DEBUG && SLJIT_DEBUG) */  #else /* (defined SLJIT_DEBUG && SLJIT_DEBUG) */
460    
461    /* Forcing empty, but valid statements. */
462  #undef SLJIT_ASSERT  #undef SLJIT_ASSERT
463  #undef SLJIT_ASSERT_STOP  #undef SLJIT_ASSERT_STOP
464    

Legend:
Removed from v.1195  
changed lines
  Added in v.1215

  ViewVC Help
Powered by ViewVC 1.1.5