-
Notifications
You must be signed in to change notification settings - Fork 0
Initialize dmlist as DMOD linked list library #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
JohnAmadis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot popraw
include/dmlist.h
Outdated
| * | ||
| * @return Pointer to the list context, or NULL if initialization fails. | ||
| */ | ||
| DMOD_BUILTIN_API( dmlist, 1.0, dmlist_context_t*, _init, ( const char* module_name ) ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tutaj lepiej by było to nazwać _create
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! Renamed to _create in commit 974c737.
| # ====================================================================== | ||
| # DMOD List | ||
| # ====================================================================== | ||
| project(dmlist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
brakuje CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added CI workflow with build-and-test and coverage jobs in commit 974c737.
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
Initialize repository as a doubly-linked list library following the choco-technologies DMOD ecosystem pattern (dmheap, dmlog, dmvfs, dmenv). Uses dmod as the sole dependency for memory allocation (
Dmod_MallocEx/Dmod_Free) and logging (DMOD_LOG_*).Implementation
Build System
create_library_makefile()Example Usage
Directory structure:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.