summaryrefslogtreecommitdiff
path: root/git2.nobj.lua
diff options
context:
space:
mode:
Diffstat (limited to 'git2.nobj.lua')
-rw-r--r--git2.nobj.lua34
1 files changed, 18 insertions, 16 deletions
diff --git a/git2.nobj.lua b/git2.nobj.lua
index a20a839..be01b6c 100644
--- a/git2.nobj.lua
+++ b/git2.nobj.lua
@@ -7,22 +7,24 @@ hide_meta_info = false, --true,
include "git2.h",
-- Error codes
-const "SUCCESS" { 0 },
-const "ERROR" { -1 },
-const "ENOTOID" { -2 },
-const "ENOTFOUND" { -3 },
-const "ENOMEM" { -4 },
-const "EOSERR" { -5 },
-const "EOBJTYPE" { -6 },
-const "EOBJCORRUPTED" { -7 },
-const "ENOTAREPO" { -8 },
-const "EINVALIDTYPE" { -9 },
-const "EMISSINGOBJDATA"{ -10 },
-const "EPACKCORRUPTED" { -11 },
-const "EFLOCKFAIL" { -12 },
-const "EZLIB" { -13 },
-const "EBUSY" { -14 },
-const "EBAREINDEX" { -15 },
+constants {
+SUCCESS = 0,
+ERROR = -1,
+ENOTOID = -2,
+ENOTFOUND = -3,
+ENOMEM = -4,
+EOSERR = -5,
+EOBJTYPE = -6,
+EOBJCORRUPTED = -7,
+ENOTAREPO = -8,
+EINVALIDTYPE = -9,
+EMISSINGOBJDATA = -10,
+EPACKCORRUPTED = -11,
+EFLOCKFAIL = -12,
+EZLIB = -13,
+EBUSY = -14,
+EBAREINDEX = -15,
+},
subfiles {
"src/repository.nobj.lua",