words = str.split(" ", 2);
self.annot = []
elif (type == "return"):
self.annot = []
elif (type == "since"):
self.since = str.rstrip()
elif (type == "geany:skip"):
self.annot.append("skip")
elif (type == "geany:nullable") or (type == "geany:skip"):
self.annot.append(type.split(":")[1])
elif (type == "geany:cb"):
self.annot.append("scope notified")
elif (type == "geany:cbdata"):
self.annot.append("closure")
elif (type == "geany:cbfree"):
self.annot.append("destroy")
these two are the old version, now should be `geany:closure` and `geany:destroy`. So, can be merged with the generic `geany:` prefix stripping handling.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/890/files#r53342021