Skip to content

Commit

Permalink
Added back init.c, just to be safe.
Browse files Browse the repository at this point in the history
  • Loading branch information
krivit committed Feb 11, 2025
1 parent cdb7d9d commit a4582c2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/init.c
Original file line number Diff line number Diff line change
@@ -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 <stdlib.h> // for NULL
#include <R_ext/Rdynload.h>

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);
}

0 comments on commit a4582c2

Please sign in to comment.