Document REGISTRY_DEFINE_GET 821/head
authorterencehill <piuntn@gmail.com>
Wed, 27 May 2020 20:32:38 +0000 (22:32 +0200)
committerterencehill <piuntn@gmail.com>
Wed, 27 May 2020 20:32:38 +0000 (22:32 +0200)
qcsrc/lib/registry.qh

index 8f0d91c..fdcc730 100644 (file)
@@ -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(); \