Add. Export error classes (ERROR_EASY, ERROR_MULTI)

```Lua
e = curl.error(curl.ERROR_EASY, curl.E_UNKNOWN_OPTION)
```
This commit is contained in:
Alexey Melnichuk 2014-09-01 11:23:11 +05:00
parent 858746fe00
commit 3ac4b54851

View File

@ -161,6 +161,12 @@ static const lcurl_const_t lcurl_flags[] = {
#include "lcflags.h" #include "lcflags.h"
#undef FLG_ENTRY #undef FLG_ENTRY
"ERROR_CURL", LCURL_ERROR_CURL,
"ERROR_EASY", LCURL_ERROR_EASY,
"ERROR_MULTI", LCURL_ERROR_MULTI,
"ERROR_SHARE", LCURL_ERROR_SHARE,
"ERROR_FORM", LCURL_ERROR_FORM,
{NULL, 0} {NULL, 0}
}; };