uce/site/doc/examples/sample_unit.uce
2026-06-16 23:02:45 +00:00

17 lines
313 B
Plaintext

// Small target unit used by the unit_*/component documentation examples.
RENDER(Request& context)
{
print("hello from the sample unit");
}
COMPONENT(Request& context)
{
print("hello from the sample component");
}
EXPORT DValue* doc_greet(DValue* call_param)
{
print("doc_greet() was called");
return(0);
}