Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
dba58dee
Commit
dba58dee
authored
Oct 19, 1998
by
Niels Möller
Browse files
Added NEW() macro.
Rev: src/xalloc.h:1.6
parent
c225407b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/xalloc.h
View file @
dba58dee
...
...
@@ -30,6 +30,7 @@
#include "lsh_types.h"
void
*
xalloc
(
size_t
size
);
#define NEW(x) ((x) = xalloc(sizeof(*(x))))
/* Allocation */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment