From 91ceab5b19a7b8c8b748a27e7bd8cb2cd4a44132 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 19 Aug 2009 04:03:00 +0000 Subject: libs/iwinfo: implement *_get_txpwrlist() to obtain valid tx power levels --- libs/iwinfo/src/iwinfo_lualib.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libs/iwinfo/src/iwinfo_lualib.h') diff --git a/libs/iwinfo/src/iwinfo_lualib.h b/libs/iwinfo/src/iwinfo_lualib.h index ca1a4421c9..909080bb45 100644 --- a/libs/iwinfo/src/iwinfo_lualib.h +++ b/libs/iwinfo/src/iwinfo_lualib.h @@ -66,5 +66,12 @@ type##_get_assoclist); \ } +#define LUA_WRAP_TXPWRLIST(type) \ + static int iwinfo_L_##type##_txpwrlist(lua_State *L)\ + { \ + return iwinfo_L_txpwrlist(L, \ + type##_get_txpwrlist); \ + } + #endif -- cgit v1.2.3