5 import = Import.new(name)
13 component = Y2ComponentBroker.get_namespace_component("Arch");
14 #puts component.methods
15 #Y2Namespace *ns = c->import(RSTRING (namespace_name)->ptr);
20 #t = Type.from_signature("bool()")
22 sym = ns.table.find(fncname);
25 raise ("No such symbol #{nsname}::#{fncname}")
26 elsif (sym.sentry.is_variable or sym.sentry.reference? )
28 #ret_yv = YCP_getset_variable (aTHX_ ns_name, sym_te->sentry (), args);
30 fnccall = ns.create_function_call(fncname, nil)
32 raise("No such function #{nsname}::#{fncname}")
37 h = ns.lookup_symbol("sparc32")
40 function = ns.create_function_call("sparc32",0)
41 #call->appendParameter (v);
42 function.finish_parameters
43 res = function.evaluate_call