~ubuntu-branches/ubuntu/quantal/nginx/quantal-updates

« back to all changes in this revision

Viewing changes to debian/modules/nginx-lua/src/ngx_http_lua_exception.h

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry, Kartik Mistry
  • Date: 2011-09-26 10:17:04 UTC
  • mfrom: (4.2.38 sid)
  • Revision ID: package-import@ubuntu.com-20110926101704-x8pxngiujrmkxnn3
Tags: 1.1.4-2
[Kartik Mistry]
* debian/modules:
  + Updated nginx-upload-progress module, Thanks to upstream for fixing issue
    that FTBFS nginx on kFreeBSD-* archs.
  + Updated nginx-lua module to latest upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* vim:set ft=c ts=4 sw=4 et fdm=marker: */
 
2
#ifndef NGX_HTTP_LUA_EXCEPTION_H
 
3
#define NGX_HTTP_LUA_EXCEPTION_H
 
4
 
 
5
 
 
6
#include "ngx_http_lua_common.h"
 
7
 
 
8
 
 
9
#define NGX_LUA_EXCEPTION_TRY if (setjmp(ngx_http_lua_exception) == 0)
 
10
#define NGX_LUA_EXCEPTION_CATCH else
 
11
#define NGX_LUA_EXCEPTION_THROW(x) longjmp(ngx_http_lua_exception, (x))
 
12
 
 
13
 
 
14
extern jmp_buf ngx_http_lua_exception;
 
15
 
 
16
 
 
17
int ngx_http_lua_atpanic(lua_State *L);
 
18
 
 
19
 
 
20
#endif /* NGX_HTTP_LUA_EXCEPTION_H */
 
21