From 821a95136fb3a11f2094f61f2954ea5e8966a378 Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 27 May 2020 22:32:38 +0200 Subject: [PATCH] Document REGISTRY_DEFINE_GET --- qcsrc/lib/registry.qh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); \ -- 2.39.2