1329500Scem/*-
2329500Scem * Copyright (c) 2018 Conrad Meyer <cem@FreeBSD.org>
3329500Scem * All rights reserved.
4329500Scem *
5329500Scem * Redistribution and use in source and binary forms, with or without
6329500Scem * modification, are permitted provided that the following conditions
7329500Scem * are met:
8329500Scem * 1. Redistributions of source code must retain the above copyright
9329500Scem *    notice, this list of conditions and the following disclaimer.
10329500Scem * 2. Redistributions in binary form must reproduce the above copyright
11329500Scem *    notice, this list of conditions and the following disclaimer in the
12329500Scem *    documentation and/or other materials provided with the distribution.
13329500Scem *
14329500Scem * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15329500Scem * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16329500Scem * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17329500Scem * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18329500Scem * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19329500Scem * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20329500Scem * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21329500Scem * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22329500Scem * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23329500Scem * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24329500Scem * SUCH DAMAGE.
25329500Scem *
26329500Scem * $FreeBSD: stable/11/stand/liblua/lerrno.h 344220 2019-02-17 02:39:17Z kevans $
27329500Scem */
28329500Scem
29329500Scem#pragma once
30329500Scem
31329500Scem#include <lua.h>
32329500Scem
33329656Scemint luaopen_errno(lua_State *L);
34