diff options
author | Brijeshcr | 2017-07-10 16:43:41 +0530 |
---|---|---|
committer | GitHub | 2017-07-10 16:43:41 +0530 |
commit | f55e3c1bd4f625f040030f398bb4501ae91d494e (patch) | |
tree | 7c640be3517f4f56496f9fb4a4a0e41595343413 /2.3-1/src/c/string | |
parent | 2e9eadc75e51483c41a30544496b4e05c0cf7c41 (diff) | |
parent | 5251462fbf83e953cd193eda3c639eee5c14d768 (diff) | |
download | Scilab2C-f55e3c1bd4f625f040030f398bb4501ae91d494e.tar.gz Scilab2C-f55e3c1bd4f625f040030f398bb4501ae91d494e.tar.bz2 Scilab2C-f55e3c1bd4f625f040030f398bb4501ae91d494e.zip |
Merge pull request #15 from abhinavdronamraju/master
Added new functions
Diffstat (limited to '2.3-1/src/c/string')
-rw-r--r-- | 2.3-1/src/c/string/includes/disp.h | 1 | ||||
-rw-r--r-- | 2.3-1/src/c/string/interfaces/int_disp.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/2.3-1/src/c/string/includes/disp.h b/2.3-1/src/c/string/includes/disp.h index 88764f27..7b463906 100644 --- a/2.3-1/src/c/string/includes/disp.h +++ b/2.3-1/src/c/string/includes/disp.h @@ -125,6 +125,7 @@ EXTERN_STRING double ddisph (double *in, int rows, int cols, int levels); EXTERN_STRING double g2dispd0(char *array,int* tmparraysize); + #ifdef __cplusplus } /* extern "C" */ #endif diff --git a/2.3-1/src/c/string/interfaces/int_disp.h b/2.3-1/src/c/string/interfaces/int_disp.h index 3bb78528..26103326 100644 --- a/2.3-1/src/c/string/interfaces/int_disp.h +++ b/2.3-1/src/c/string/interfaces/int_disp.h @@ -51,7 +51,9 @@ #define d3disp(in,size) ddisph(in,size[0],size[1],size[2]) -#define g2disp(in, size) printf("%s\n",in) +#define g2disp(in, size) printf("%s\n", in) + +#define g0disp(in) printf("%c\n", in) #endif /* __INT_DISP_H__ */ |