[Feature #18249] Include ruby.h in extensions to have ABI version
All shared libraries must have `include/ruby/internal/abi.h` to include the ABI version. Including `ruby.h` will guarantee that.
This commit is contained in:
parent
3df16924b4
commit
638fd8774b
Notes:
git
2022-02-22 23:55:56 +09:00
@ -2,6 +2,7 @@
|
||||
* Author: yugui@google.com (Yugui Sonoda)
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include "ruby.h"
|
||||
|
||||
#define init(func, name) { \
|
||||
extern void func(void); \
|
||||
|
@ -9,6 +9,8 @@
|
||||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby.h"
|
||||
|
||||
void rb_declare_transcoder(const char *enc1, const char *enc2, const char *lib);
|
||||
|
||||
void
|
||||
|
@ -1 +1,3 @@
|
||||
#include "ruby.h"
|
||||
|
||||
void Init_dot(void) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user