summaryrefslogtreecommitdiff
path: root/git2.nobj.lua
diff options
context:
space:
mode:
Diffstat (limited to 'git2.nobj.lua')
-rw-r--r--git2.nobj.lua24
1 files changed, 22 insertions, 2 deletions
diff --git a/git2.nobj.lua b/git2.nobj.lua
index 643636d..47e703a 100644
--- a/git2.nobj.lua
+++ b/git2.nobj.lua
@@ -6,13 +6,33 @@ hide_meta_info = false, --true,
include "git2.h",
+package "GIT" {
+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 },
+},
+
subfiles {
"repository.nobj.lua",
-"database.nobj.lua",
"rawobject.nobj.lua",
+"oid.nobj.lua",
+"database.nobj.lua",
+"database_backend.nobj.lua",
"index.nobj.lua",
"index_entry.nobj.lua",
-"oid.nobj.lua",
"error.nobj.lua",
"object.nobj.lua",
"blob.nobj.lua",