parsav  Diff

Differences From Artifact [248ab207d4]:

To Artifact [7f970c2f4a]:


4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

local terra cs(s: rawstring)
	return pstr { ptr = s, ct = lib.str.sz(s) }
end

local terra 
render_conf_profile(co: &lib.srv.convo, path: lib.mem.ptr(pref)): pstr

	var c = data.view.conf_profile {
		handle = cs(co.who.handle);
		nym = cs(lib.coalesce(co.who.nym,''));
		bio = cs(lib.coalesce(co.who.bio,''));
	}
	return c:tostr()
end

return render_conf_profile







<









4
5
6
7
8
9
10

11
12
13
14
15
16
17
18
19

local terra cs(s: rawstring)
	return pstr { ptr = s, ct = lib.str.sz(s) }
end

local terra 
render_conf_profile(co: &lib.srv.convo, path: lib.mem.ptr(pref)): pstr

	var c = data.view.conf_profile {
		handle = cs(co.who.handle);
		nym = cs(lib.coalesce(co.who.nym,''));
		bio = cs(lib.coalesce(co.who.bio,''));
	}
	return c:tostr()
end

return render_conf_profile