From a4582c24994a2f580f26aa14f96fa5c68a002379 Mon Sep 17 00:00:00 2001 From: "Pavel N. Krivitsky" Date: Tue, 11 Feb 2025 16:29:21 +1100 Subject: [PATCH] Added back init.c, just to be safe. --- src/init.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/init.c diff --git a/src/init.c b/src/init.c new file mode 100644 index 0000000..fa6716a --- /dev/null +++ b/src/init.c @@ -0,0 +1,21 @@ +/* File src/init.c in package ergm.userterms, part of the Statnet suite + * of packages for network analysis, https://statnet.org . + * + * This software is distributed under the GPL-3 license. It is free, + * open source, and has the attribution requirements (GPL Section 7) at + * https://statnet.org/attribution + * + * Copyright 2012-2019 Statnet Commons + */ +#include // for NULL +#include + +static const R_CMethodDef CEntries[] = { + {NULL, NULL, 0} +}; + +void R_init_ergm_ego(DllInfo *dll) +{ + R_registerRoutines(dll, CEntries, NULL, NULL, NULL); + R_useDynamicSymbols(dll, TRUE); +}