Skip to content

Commit

Permalink
namespace version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
uecker committed Aug 21, 2024
1 parent c008eb6 commit 84546f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/namespace.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ static const struct \
{ S(N, NAMESPACE_ENTRY) } N = { S(N, NAMESPACE_INIT) }
#define NAMESPACE_IMPORT(X, Y) const static typeof(X) Y = X

#define NAMESPACE(S) (static const struct { S(S, NAMESPACE_ENSTRY) }){ S(S, NAMESPACE_INIT) }

0 comments on commit 84546f3

Please sign in to comment.