htable/htable_type: allow keyof to be a simple macro
authorCody P Schafer <dev@codyps.com>
Tue, 31 May 2016 16:06:16 +0000 (12:06 -0400)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 31 May 2016 21:08:56 +0000 (06:38 +0930)
commitf3538fc7cbe97e7e0daa216b187596d77f189bf2
treefeda1185383f896f8f70531ac16ef049a7603d2f
parent15966998bbeaea92e4e1b1c9f067a4142f51f680
htable/htable_type: allow keyof to be a simple macro

Without this, one had to either use a function or a macro with casts to
get the expected behavior.

Signed-off-by: Cody P Schafer <dev@codyps.com>
ccan/htable/htable_type.h