Skip to content

Commit a3141e3

Browse files
committed
Rubified the APIs of pack.c
1 parent 882179a commit a3141e3

File tree

5 files changed

+304
-296
lines changed

5 files changed

+304
-296
lines changed

.document

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ trace_point.rb
1515
ast.rb
1616
io.rb
1717
gc.rb
18+
pack.rb
1819

1920
# the lib/ directory (which has its own .document file)
2021
lib

common.mk

+5
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,9 @@ builtin_binary.inc: $(PREP) $(BUILTIN_RB_SRCS) $(srcdir)/tool/mk_builtin_binary.
11081108

11091109
$(BUILTIN_RB_INCS): $(top_srcdir)/tool/mk_builtin_loader.rb
11101110

1111+
load_pack.inc: $(srcdir)/pack.rb $(srcdir)/tool/mk_builtin_loader.rb
1112+
$(Q) $(BASERUBY) $(srcdir)/tool/mk_builtin_loader.rb $(srcdir)/pack.rb
1113+
11111114
$(srcdir)/revision.h:
11121115
$(Q)$(gnumake:yes=#) $(RM) $(@F)
11131116
$(Q)$(gnumake:yes=#) exit > $@ || exit > $(@F)
@@ -2569,12 +2572,14 @@ object.$(OBJEXT): {$(VPATH)}util.h
25692572
pack.$(OBJEXT): $(hdrdir)/ruby.h
25702573
pack.$(OBJEXT): $(hdrdir)/ruby/ruby.h
25712574
pack.$(OBJEXT): {$(VPATH)}assert.h
2575+
pack.$(OBJEXT): {$(VPATH)}builtin.h
25722576
pack.$(OBJEXT): {$(VPATH)}config.h
25732577
pack.$(OBJEXT): {$(VPATH)}defines.h
25742578
pack.$(OBJEXT): {$(VPATH)}encoding.h
25752579
pack.$(OBJEXT): {$(VPATH)}intern.h
25762580
pack.$(OBJEXT): {$(VPATH)}internal.h
25772581
pack.$(OBJEXT): {$(VPATH)}io.h
2582+
pack.$(OBJEXT): {$(VPATH)}load_pack.inc
25782583
pack.$(OBJEXT): {$(VPATH)}missing.h
25792584
pack.$(OBJEXT): {$(VPATH)}onigmo.h
25802585
pack.$(OBJEXT): {$(VPATH)}oniguruma.h

inits.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ rb_call_inits(void)
4242
CALL(Hash);
4343
CALL(Struct);
4444
CALL(Regexp);
45-
CALL(pack);
4645
CALL(transcode);
4746
CALL(marshal);
4847
CALL(Range);
@@ -73,5 +72,6 @@ rb_call_inits(void)
7372
CALL(IO_nonblock);
7473
CALL(ast);
7574
CALL(vm_trace);
75+
CALL(pack);
7676
}
7777
#undef CALL

0 commit comments

Comments
 (0)