![]() | ![]() | ![]() | patch | ![]() |
|
| (id date
&key author description) | [Macro] |
Purpose
Define a patch to a module.
Package :module-manager
Module :module-manager
Arguments and values
| id | An object | |
| date | A simple string representing a date (parsed by
| |
| author | A string (default is "Anonymous" | |
| description | A string or a proper list of strings (default is nil)
| |
| form | A form |
Description
The source file for a patch should be placed in a subdirectory named
patches
If a patch cannot be defined as a single
See also
allow-redefinition
continue-patch
define-module
describe-module
describe-patches
finish-patch
get-patch-description
parse-date
patch-loaded-p
start-patch
undefmethod
Example
Define a simple patch (in a file named my-app-p001.lisppatches
(patch (1 "06-22-08"
:author "Corkill"
:description "A simple example patch")
(printv "Simple example patch loaded!"))
and add the patch file to the :my-app
(define-module :my-app
(:requires :gbbopen-user)
(:files "preamble"
("macros" :forces-recompile)
"classes"
"my-app"
"epilogue")
(:patches "my-app-p001"))
The GBBopen Project
![]() | ![]() | ![]() | patch | ![]() |