summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2016-11-10 15:13:24 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2016-11-10 15:14:42 +0100
commit299338a55065c31f88d5ac87bbe1249f5255f3fa (patch)
treed32cc3636c87a43d4112b2b88684d7bcf1b0c514
parentfd646e79e32c37b2423bf750b1e41ec6ee6b620b (diff)
downloadefl-299338a55065c31f88d5ac87bbe1249f5255f3fa.tar.gz
elua: docgen: follow is_ref to is_ptr rename
Docgen was broken after this rename.
-rw-r--r--src/scripts/elua/apps/docgen/doctree.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scripts/elua/apps/docgen/doctree.lua b/src/scripts/elua/apps/docgen/doctree.lua
index 699cb1c1b5..0f835c5185 100644
--- a/src/scripts/elua/apps/docgen/doctree.lua
+++ b/src/scripts/elua/apps/docgen/doctree.lua
@@ -585,8 +585,8 @@ local wrap_type_attrs = function(tp, str)
if ffunc then
str = "free(" .. str .. ", " .. ffunc .. ")"
end
- if tp:is_ref() then
- str = "ref(" .. str .. ")"
+ if tp:is_ptr() then
+ str = "ptr(" .. str .. ")"
end
return str
end
@@ -663,8 +663,8 @@ M.Type = Node:clone {
return self.type:is_const()
end,
- is_ref = function(self)
- return self.type:is_ref()
+ is_ptr = function(self)
+ return self.type:is_ptr()
end,
c_type_get = function(self)