Lines Matching +defs:error +defs:value
57 const char *key, *value;
60 value = lua_tostring(L, -1);
61 if (key != NULL && value != NULL)
62 pmf_set_platform(key, value);
69 const char *key, *value;
73 value = pmf_get_platform(key);
74 if (value != NULL)
75 lua_pushstring(L, value);
150 int error;
153 error = klua_mod_register("pmf", luaopen_pmf);
156 error = klua_mod_unregister("pmf");
159 error = ENOTTY;
161 return error;