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

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

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

revision 1530 by zherczeg, Thu Mar 5 08:53:37 2015 UTC revision 1531 by zherczeg, Fri Mar 6 07:44:16 2015 UTC
# Line 429  SLJIT_API_FUNC_ATTRIBUTE void sljit_free Line 429  SLJIT_API_FUNC_ATTRIBUTE void sljit_free
429     these checks increases the performance of the compiling process. */     these checks increases the performance of the compiling process. */
430  static SLJIT_INLINE sljit_si sljit_get_compiler_error(struct sljit_compiler *compiler) { return compiler->error; }  static SLJIT_INLINE sljit_si sljit_get_compiler_error(struct sljit_compiler *compiler) { return compiler->error; }
431    
432  /* Sets the compiler error code to SLJIT_ERR_ALLOC_FAILED. After  /* Sets the compiler error code to SLJIT_ERR_ALLOC_FAILED except
433     the error code is set, the compiler behaves as if itself detected     if an error was detected before. After the error code is set
434     an allocation failure. This can greatly simplify error management,     the compiler behaves as if the allocation failure happened
435     since only the compiler needs to be checked after compilation. */     during an sljit function call. This can greatly simplify error
436  static SLJIT_INLINE void sljit_set_compiler_memory_error(struct sljit_compiler *compiler) { compiler->error = SLJIT_ERR_ALLOC_FAILED; }     checking, since only the compiler status needs to be checked
437       after the compilation. */
438    SLJIT_API_FUNC_ATTRIBUTE void sljit_set_compiler_memory_error(struct sljit_compiler *compiler);
439    
440  /*  /*
441     Allocate a small amount of memory. The size must be <= 64 bytes on 32 bit,     Allocate a small amount of memory. The size must be <= 64 bytes on 32 bit,

Legend:
Removed from v.1530  
changed lines
  Added in v.1531

  ViewVC Help
Powered by ViewVC 1.1.5