diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-21 21:39:02 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-12-26 18:10:09 -0700 |
commit | 5fafccfcd54e0e309f084ff3891d0239250cfde3 (patch) | |
tree | 59334741aa0210dbe164891f942ec571edb472c9 /lib9p/9p.generated.c | |
parent | d018906715b395e0fb9624cbd5b7fbf1c0e3f559 (diff) |
lib9p: idl.gen: Add a c_macro helper
Diffstat (limited to 'lib9p/9p.generated.c')
-rw-r--r-- | lib9p/9p.generated.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib9p/9p.generated.c b/lib9p/9p.generated.c index d3dc36a..373d95e 100644 --- a/lib9p/9p.generated.c +++ b/lib9p/9p.generated.c @@ -1784,15 +1784,15 @@ LM_FLATTEN static bool marshal_Rswrite(struct _marshal_ctx *ctx, struct lib9p_ms /* tables / exports ***********************************************************/ -#define _MSG(typ) [LIB9P_TYP_##typ] = { \ - .name = #typ, \ - .basesize = sizeof(struct lib9p_msg_##typ), \ - .validate = validate_##typ, \ - .unmarshal = (_unmarshal_fn_t)unmarshal_##typ, \ - .marshal = (_marshal_fn_t)marshal_##typ, \ +#define _MSG(typ) [LIB9P_TYP_##typ] = { \ + .name = #typ, \ + .basesize = sizeof(struct lib9p_msg_##typ), \ + .validate = validate_##typ, \ + .unmarshal = (_unmarshal_fn_t)unmarshal_##typ, \ + .marshal = (_marshal_fn_t)marshal_##typ, \ } -#define _NONMSG(num) [num] = { \ - .name = #num, \ +#define _NONMSG(num) [num] = { \ + .name = #num, \ } struct _table_version _lib9p_versions[LIB9P_VER_NUM] = { |