Skip to content

Commit

Permalink
Export object-package generic function.
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlyak40wt committed Jan 5, 2025
1 parent 2d54e0e commit 4c1e4e7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 0 additions & 5 deletions full/object-package-impl.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
(in-package #:40ants-doc-full/object-package-impl)


(defmethod object-package ((object t))
(warn "Unable to figure out *package* for object ~S"
object)
nil)

(defmethod object-package ((object symbol))
(symbol-package object))

Expand Down
9 changes: 9 additions & 0 deletions src/changelog.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,15 @@
"CLEAN-URLS"
;; These objects are not documented yet:
"40ANTS-DOC/COMMONDOC/XREF:XREF"))
(0.22.0 2025-01-05
"* Exported 40ANTS-DOC/OBJECT-PACKAGE:OBJECT-PACKAGE generic-function.
Define a method for it if you have created a new locative type
and encounter a warning like this:
```
WARNING:
Unable to figure out *package* for object #<40ANTS-DOC/LOCATIVES::DIAGRAM {1012A10B53}>
```")
(0.21.0 2025-01-05
"* Changed a way how images are processed. New behaviour should be backward compatible,
but now it is possible. But now 40ANTS-DOC-FULL/COMMONDOC/IMAGE:LOCAL-IMAGE function
Expand Down
3 changes: 2 additions & 1 deletion src/object-package.lisp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(uiop:define-package #:40ants-doc/object-package
(:use #:cl))
(:use #:cl)
(:export #:object-package))
(in-package #:40ants-doc/object-package)


Expand Down

0 comments on commit 4c1e4e7

Please sign in to comment.