[yast-devel] YCP toXml() and symbol table
Hi hackers <symbols> <symbol global="1" category="filename" type="unspec" name="simple-1.ycp"/> <symbol category="function" type="function" name="foobar"/> <symbol category="variable" type="string" name="foo"/> </symbols> is function symbol type meant to be "function" or is a bug in the xml output? I browsed the code quickly but could not find if function sets the symbol type to something. If not, how can I know the return type? Duncan -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
* Duncan Mac-Vicar P. <dmacvicar@suse.de> [Nov 06. 2007 00:49]:
Hi hackers
<symbols> <symbol global="1" category="filename" type="unspec" name="simple-1.ycp"/> <symbol category="function" type="function" name="foobar"/> <symbol category="variable" type="string" name="foo"/> </symbols>
is function symbol type meant to be "function" or is a bug in the xml output?
Its an unfinished piece of the xml output ;-} It should be the function signature as used in declaration_t of include/ycp/StaticDeclaration.h
I browsed the code quickly but could not find if function sets the symbol type to something.
Thats exactly why 'type="function"' is set. When I implemented toXml() I didn't find a way to access the function signature. :-( Klaus -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (2)
-
Duncan Mac-Vicar P.
-
Klaus Kaempf