summaryrefslogtreecommitdiffhomepage
path: root/libs/uci
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-29 15:47:56 +0000
committerSteven Barth <steven@midlink.org>2008-08-29 15:47:56 +0000
commite068351a3f5bf63ed85cd5d67a4a71048c5c0f60 (patch)
tree5907ca1f750e663dc0055f38bafd87deb76cce6a /libs/uci
parentb6e397e1a42022631fb17a7ef33f854040398ae3 (diff)
Cleanup and documentation
Diffstat (limited to 'libs/uci')
-rw-r--r--libs/uci/luasrc/model/uci.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/uci/luasrc/model/uci.lua b/libs/uci/luasrc/model/uci.lua
index 7fc0c79fd..3b135c532 100644
--- a/libs/uci/luasrc/model/uci.lua
+++ b/libs/uci/luasrc/model/uci.lua
@@ -34,6 +34,7 @@ local error, pairs, ipairs, tostring = error, pairs, ipairs, tostring
local require, getmetatable = require, getmetatable
--- LuCI UCI model library.
+-- @cstyle instance
module("luci.model.uci")
--- Create a new UCI-Cursor.
@@ -50,10 +51,7 @@ function cursor_state()
return cursor(nil, "/var/state")
end
---- UCI-Cursor
--- @class module
--- @cstyle instance
--- @name luci.model.uci.Cursor
+
local Cursor = getmetatable(cursor())
--- Applies the new config