Update docs a bit
This commit is contained in:
parent
b2860b0989
commit
06e432aa8d
@ -76,7 +76,7 @@ void baz$main();
|
|||||||
|
|
||||||
public void baz$say_stuff()
|
public void baz$say_stuff()
|
||||||
{
|
{
|
||||||
say(CORD_all("I got ", foo$my_variable, " from foo"));
|
say(Texts(Text("I got "), foo$my_variable, Text(" from foo")));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void baz$main()
|
public void baz$main()
|
||||||
|
@ -44,12 +44,12 @@ void foo$main();
|
|||||||
Int_t foo$my_var = I_small(123);
|
Int_t foo$my_var = I_small(123);
|
||||||
Int_t foo$Baz$member = I_small(5);
|
Int_t foo$Baz$member = I_small(5);
|
||||||
|
|
||||||
static CORD foo$Baz$as_text(foo$Baz_t *obj, bool use_color)
|
static Text_t foo$Baz$as_text(foo$Baz_t *obj, bool use_color)
|
||||||
{
|
{
|
||||||
if (!obj)
|
if (!obj)
|
||||||
return "Baz";
|
return "Baz";
|
||||||
return CORD_all(use_color ? "\x1b[0;1mBaz\x1b[m(" : "Baz(", "x=",
|
return Texts(use_color ? Text("\x1b[0;1mBaz\x1b[m(") : Text("Baz("),
|
||||||
Int$as_text(stack(obj->$x), use_color, &Int$info), ")");
|
Int$as_text(stack(obj->$x), use_color, &Int$info), Text(")"));
|
||||||
}
|
}
|
||||||
|
|
||||||
public Int_t foo$Baz$frob(struct foo$Baz_s $b)
|
public Int_t foo$Baz$frob(struct foo$Baz_s $b)
|
||||||
|
Loading…
Reference in New Issue
Block a user