libtrycatch  Diff

Differences From Artifact [ed53b12ee4]:

To Artifact [e9c91601df]:


21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef __TRYCATCH_H__
#define __TRYCATCH_H__

#include <setjmp.h>
#include <stdnoreturn.h>

#define TRYCATCH_CONCAT2(a, b) a ## b
#define TRYCATCH_CONCAT(a, b) TRYCATCH_CONCAT2(a, b)
#ifndef TRYCATCH_NORETURN







|
|







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef TRYCATCH_H_INCLUDED
#define TRYCATCH_H_INCLUDED

#include <setjmp.h>
#include <stdnoreturn.h>

#define TRYCATCH_CONCAT2(a, b) a ## b
#define TRYCATCH_CONCAT(a, b) TRYCATCH_CONCAT2(a, b)
#ifndef TRYCATCH_NORETURN