[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pam 21cf632947 13/16: Added documentation strings to st
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pam 21cf632947 13/16: Added documentation strings to struct fields |
Date: |
Wed, 20 Sep 2023 12:59:11 -0400 (EDT) |
branch: externals/pam
commit 21cf632947b24b19cea959f32fb1b79642279d91
Author: Onnie Lynn Winebarger <owinebar@gmail.com>
Commit: Onnie Lynn Winebarger <owinebar@gmail.com>
Added documentation strings to struct fields
---
tam.el | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/tam.el b/tam.el
index e96b8d5a4b..de6cac8187 100644
--- a/tam.el
+++ b/tam.el
@@ -60,24 +60,24 @@
(cl-defstruct (tam--table (:constructor tam--table-create (size))
(:copier tam--copy-table))
"Table with explicitly managed allocation"
- size
- used
- slots
- first-free
- last-free
- first-used
- last-used)
+ (size nil :documentation "Size of the table")
+ (used nil :documentation "Number of entries in use")
+ (slots nil :documentation "Vector of slots")
+ (first-free nil :documentation "First slot on the free list")
+ (last-free nil :documentation "Last slot on the free list")
+ (first-used nil :documentation "First slot on in-use list")
+ (last-used nil :documentation "Last slot on in-use list"))
(cl-defstruct (tam--slot (:constructor tam--slot-create
(table index in-use next previous))
(:copier tam--copy-slot))
"Slot in TAM table"
- table ;; table containing this slot
- index ;; index of slot in table
- in-use ;; flag indicating if contents are "live"
- next ;; next on list of used/free
- previous ;; previous on list of used/free
- contents ;; contents of slot
+ (table nil :documentation "table containing this slot")
+ (index nil :documentation "index of slot in table")
+ (in-use nil :documentation "flag indicating if contents are \"live\"")
+ (next nil :documentation "next on list of used/free")
+ (previous nil :documentation "previous on list of used/free")
+ (contents nil :documentation "contents of slot")
)
(cl-defstruct (tam--pool (:constructor tam--pool-create
@@ -87,10 +87,10 @@
reset))
(:copier tam--copy-pool))
"Pool of manually managed pre-allocated objects"
- table
- objs
- allocate
- reset)
+ (table nil :documentation "TAM table for tracking live/free objects")
+ (objs nil :documentation "Preallocated objects")
+ (allocate nil :documentation "Thunk for allocating uninitialized objects")
+ (reset nil :documentation "Function to reset object to uninitialized state"))
(defun tam-create-table (N)
- [elpa] branch externals/pam created (now 0dcaa2cc9c), ELPA Syncer, 2023/09/20
- [elpa] externals/pam 40b679999a 01/16: Initial commit, ELPA Syncer, 2023/09/20
- [elpa] externals/pam 2804ad6832 04/16: First successfully byte-compiled version, ELPA Syncer, 2023/09/20
- [elpa] externals/pam adcdd8d6aa 03/16: Ignore byte-compiled files and others, ELPA Syncer, 2023/09/20
- [elpa] externals/pam 1eb72029e8 02/16: Update README.md, ELPA Syncer, 2023/09/20
- [elpa] externals/pam d2dd6a9796 05/16: Add functions to report free and live index lists, ELPA Syncer, 2023/09/20
- [elpa] externals/pam 7b072b5457 07/16: Added API documentation to header., ELPA Syncer, 2023/09/20
- [elpa] externals/pam 21cf632947 13/16: Added documentation strings to struct fields,
ELPA Syncer <=
- [elpa] externals/pam bc654b6d68 14/16: Change data structures to primitive representation., ELPA Syncer, 2023/09/20
- [elpa] externals/pam 0dcaa2cc9c 16/16: Provide two versions for tam-release, one with and one without finalization., ELPA Syncer, 2023/09/20
- [elpa] externals/pam fe28ad02db 06/16: Fixed tam-allocate and tam-free functions., ELPA Syncer, 2023/09/20
- [elpa] externals/pam c74c0e06b5 12/16: Improve tam-create-pool docstring, ELPA Syncer, 2023/09/20
- [elpa] externals/pam acb2a6cbbb 11/16: Add object pool management, ELPA Syncer, 2023/09/20
- [elpa] externals/pam cbc1727fea 08/16: Fixed some issues with tam-table-used and tam-table-size., ELPA Syncer, 2023/09/20
- [elpa] externals/pam 15106c6acd 15/16: Define tam-already-free error symbol, ELPA Syncer, 2023/09/20
- [elpa] externals/pam 0f1f5cf265 10/16: Use cl-loop instead of queue package, ELPA Syncer, 2023/09/20
- [elpa] externals/pam c254ec9f64 09/16: Renamed library and updated headers, ELPA Syncer, 2023/09/20