From: terencehill Date: Wed, 27 May 2020 20:32:38 +0000 (+0200) Subject: Document REGISTRY_DEFINE_GET X-Git-Tag: xonotic-v0.8.5~1010^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=821a95136fb3a11f2094f61f2954ea5e8966a378;p=xonotic%2Fxonotic-data.pk3dir.git Document REGISTRY_DEFINE_GET --- diff --git a/qcsrc/lib/registry.qh b/qcsrc/lib/registry.qh index 8f0d91ce9..fdcc730a0 100644 --- a/qcsrc/lib/registry.qh +++ b/qcsrc/lib/registry.qh @@ -19,8 +19,9 @@ /** * Declare a new registry. * - * Don't forget to call `REGISTER_REGISTRY`: + * Don't forget to call REGISTER_REGISTRY and REGISTRY_DEFINE_GET: * REGISTER_REGISTRY(Foos) + * REGISTRY_DEFINE_GET(Foos, null_ent) */ #define REGISTRY(id, max) \ void Register##id(); \