Skip to content

Commit

Permalink
[Feature #19741] Added Init_YARP() to load from the yarp C extension
Browse files Browse the repository at this point in the history
Init_YARP is called from inits.c, and it loads the YARP C extension
correctly
  • Loading branch information
jemmaissroff authored and k0kubun committed Jun 21, 2023
1 parent d53e1f4 commit 08478fe
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions yarp/yarp_init.c
@@ -0,0 +1,8 @@
#include "yarp/extension.h"

void ruby_init_ext(const char *name, void (*init)(void));

void
Init_YARP() {
ruby_init_ext("yarp.so", Init_yarp);
}

0 comments on commit 08478fe

Please sign in to comment.