From f4260a8da5a439b3d69020a2b528a3b287caa618 Mon Sep 17 00:00:00 2001 From: jofret Date: Thu, 4 Jun 2009 14:59:40 +0000 Subject: Adding missing string operation --- src/c/operations/interfaces/int_OpPlus.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/c/operations') diff --git a/src/c/operations/interfaces/int_OpPlus.h b/src/c/operations/interfaces/int_OpPlus.h index 512b0bfb..9a385829 100644 --- a/src/c/operations/interfaces/int_OpPlus.h +++ b/src/c/operations/interfaces/int_OpPlus.h @@ -133,8 +133,12 @@ } +/* Strings */ - +#define g2g2OpPlusg2(in1,size1,in2,size2,out) {int i = 0, j = 0; \ + for(i = 0 ; i < size1[1] ; ++i, ++j) out[j] = in1[i]; \ + for(i = 0 ; i < size2[1] ; ++i, ++j) out[j] = in2[i]; \ + } #endif /* !__INT_OPPLUS_H__ */ -- cgit