Skip to content
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

feat: reduce boilerplate logic for importing fs module #290

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pollend
Copy link
Collaborator

@pollend pollend commented Feb 18, 2024

No description provided.

@pollend pollend marked this pull request as draft February 18, 2024 08:40
Signed-off-by: Michael Pollind <mpollind@gmail.com>
@pollend pollend force-pushed the feature/reduce-boilderplate-logic-when-importing-modules branch from 2f1bc87 to c4938f0 Compare February 18, 2024 18:30
@pollend pollend marked this pull request as ready for review February 18, 2024 19:04
Signed-off-by: Michael Pollind <mpollind@gmail.com>
Comment on lines +44 to +51
#define Mod_Mem_AllocExt( pool, size, align, value ) _Mod_Mem_AllocExt( pool, size, align, value, __FILE__, __LINE__ )
#define Mod_Mem_Alloc( pool, size ) _Mod_Mem_Alloc( pool, size, __FILE__, __LINE__ )
#define Mod_Mem_Realloc( data, size ) _Mem_Realloc( data, size, __FILE__, __LINE__ )
#define Mod_Mem_Free( mem ) _Mod_Free( mem, __FILE__, __LINE__ )
#define Mod_Mem_AllocPool( parent, name ) _Mod_AllocPool( parent, name, __FILE__, __LINE__ )
#define Mod_Mem_FreePool( pool ) _Mod_Mem_FreePool( pool, __FILE__, __LINE__ )
#define Mod_Mem_EmptyPool( pool ) _Mem_EmptyPool( pool, __FILE__, __LINE__ )
#define Mod_Mem_CopyString( pool, str ) _Mem_CopyString( pool, str, __FILE__, __LINE__ )
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a better way to name this ?

Signed-off-by: Michael Pollind <mpollind@gmail.com>
Signed-off-by: Michael Pollind <mpollind@gmail.com>
@pollend pollend marked this pull request as draft February 19, 2024 06:47
@pollend pollend changed the title feat: reduce boilerplate logic for importing modules feat: reduce boilerplate logic for importing fs module Feb 22, 2024
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