Skip to content

Commit b28e59e

Browse files
committed
resolve conflict in robj.c
2 parents 91f9f2b + 4ba14db commit b28e59e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Rakefile.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
p.summary = p.paragraphs_of("README.txt",1)[0]
1515
p.changes = p.paragraphs_of("History.txt",0..1).join("\n\n")
1616

17-
p.clean_globs = ["ext/*.o","ext/*.so","ext/Makefile","ext/mkmf.log","**/*~","email.txt","manual.{aux,log,out,toc,pdf}"]
17+
p.clean_globs = ["ext/*.o","ext/*.so","ext/*.bundle","ext/Makefile","ext/mkmf.log","**/*~","email.txt","manual.{aux,log,out,toc,pdf}"]
1818

1919
p.rdoc_pattern = /(^lib\/.*\.rb$|^examples\/.*\.rb$|^README|^History|^License)/
2020

ext/robj.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ VALUE RObj_lcall(VALUE self, VALUE args){
4949
args = rb_check_array_type(args);
5050

5151
// A SEXP with the function to call and the arguments
52-
PROTECT(exp = allocVector(LANGSXP, RARRAY_LEN(args)+1));
52+
PROTECT(exp = allocVector(LANGSXP, (RARRAY_LEN(args))+1));
5353
e = exp;
5454

5555
Data_Get_Struct(self, struct SEXPREC, r_obj);
@@ -97,7 +97,7 @@ VALUE RObj_init_lcall(VALUE self, VALUE args){
9797
args = rb_check_array_type(args);
9898

9999
// A SEXP with the function to call and the arguments
100-
PROTECT(exp = allocVector(LANGSXP, RARRAY_LEN(args)+1));
100+
PROTECT(exp = allocVector(LANGSXP, (RARRAY_LEN(args))+1));
101101
e = exp;
102102

103103
Data_Get_Struct(self, struct SEXPREC, r_obj);

0 commit comments

Comments
 (0)