summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/c/operations/interfaces/int_OpPlus.h6
1 files changed, 5 insertions, 1 deletions
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__ */