zeek/auxil/spicy/doc/programming/examples/_basic-unit-module-with-default.spicy
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

10 lines
192 B
Plaintext

# Automatically generated; edit in Sphinx source code, not here.
module Test;
type Foo = unit {
version: uint32 &default=42;
};
global f: Foo;
print f;
print "version is %s" % f.version;