feat: skeleton created monastery.asd and files
This commit is contained in:
parent
41d4c781b9
commit
0fd4cecd89
7 changed files with 30 additions and 14 deletions
|
|
@ -1 +0,0 @@
|
|||
#include "mdict_bridge.h"
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
#ifndef MDICT_BRIDGE
|
||||
#define MDICT_BRIDGE
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
1
core.lisp
Normal file
1
core.lisp
Normal file
|
|
@ -0,0 +1 @@
|
|||
(in-package :monastery)
|
||||
13
monastery.asd
Normal file
13
monastery.asd
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
(defsystem :monastery
|
||||
:author "Joao Mauricio <jean0t>"
|
||||
:license "AGPL-3"
|
||||
:description "This library provides functionality to read and parse MDX/MDD dictionary files commonly used in electronic dictionaries"
|
||||
:version "0.0.1"
|
||||
:homepage "https://git.ajattix.org/Jamno/monastery"
|
||||
:source-control (:git "https://git.ajattix.org/Jamno/monastery.git")
|
||||
:serial t
|
||||
:components ((:file "package")
|
||||
(:file "types")
|
||||
(:file "core")
|
||||
(:file "monastery"))
|
||||
:depends-on (#:cffi #:cffi-ops))
|
||||
1
monastery.lisp
Normal file
1
monastery.lisp
Normal file
|
|
@ -0,0 +1 @@
|
|||
(in-package :monastery)
|
||||
2
package.lisp
Normal file
2
package.lisp
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
(defpackage :monastery
|
||||
(:use #:cl #:cffi #:cffi-ops))
|
||||
13
types.lisp
Normal file
13
types.lisp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
(in-package :monastery)
|
||||
|
||||
(defcstruct sized-data
|
||||
(data :pointer)
|
||||
(size :size-t))
|
||||
|
||||
(defcenum mdict-encoding-t
|
||||
(:mdict-encoding-base64 0)
|
||||
(:mdict-encoding-hex 1))
|
||||
|
||||
|
||||
(defctype s-data '(:struct sized-data))
|
||||
(defctype mdict-encoding '(:struct mdict-encoding-t))
|
||||
Loading…
Reference in a new issue