Skip to content

0.14.0 --- openkal.map (openkal 0.18) - #38

Merged
Sunrisepeak merged 2 commits into
mainfrom
openkal-0.18.0
Oct 30, 2026
Merged

Sunrisepeak merged 2 commits into
mainfrom
openkal-0.18.0

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Implements openkal.map of openkal 0.18.0 (mcpplibs/openkal#55): kal_map_file, kal_map_sync, kal_map_release, KAL_IFACE_MAP; provides-interfaces names it. The file's length and kind are checked at the call; no executable mapping.

Co-authored-by: speak-agent 248744407+speak-agent@users.noreply.github.com

Sunrisepeak and others added 2 commits October 30, 2026 18:35
…ection and a view (openkal 0.18)

CreateFileMappingW of the file's own length and MapViewOfFile; the section is
closed once the view exists, and a view is released by its address. The file's
length is read first, since a section larger than a writable file would
lengthen it; a file not on a disk is not mapped. kal_map_sync is
FlushViewOfFile. A file shortened beneath a view is refused with
ERROR_USER_MAPPED_FILE, reported as kal_err_permission. CI examines the
interface (feature map).

Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
Co-authored-by: speak-agent <248744407+speak-agent@users.noreply.github.com>
@Sunrisepeak
Sunrisepeak merged commit 7c4003f into main Oct 30, 2026
13 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant