Home | History | Annotate | Download | only in typemaps

Lines Matching refs:Char

10 %define %typemaps_cstring(Name, Char,
22 * %cstring_input_binary(Char *buff, int size);
23 * void foo(Char *buff, int size) {
30 (int res, Char *buf = 0, size_t size = 0, int alloc = 0) {
51 * %cstring_bounded_output(Char *outx, 512);
52 * void foo(Char *outx) {
59 %typemap(in,noblock=1,numinputs=0) TYPEMAP (Char temp[MAX+1]) {
77 * %cstring_chunk_output(Char *outx, 512);
78 * void foo(Char *outx) {
85 %typemap(in,noblock=1,numinputs=0) TYPEMAP(Char temp[SIZE]) {
101 * %cstring_bounded_mutable(Char *in, 512);
114 (int res,Char temp[MAX+1], Char *t = 0, size_t n = 0, int alloc = 0) {
120 memcpy(temp, t, sizeof(Char)*n);
139 * %cstring_mutable(Char *in);
150 %typemap(in,noblock=1,fragment=#SWIG_AsCharPtrAndSize) TYPEMAP (int res, Char *t = 0, size_t n = 0, int alloc = 0, size_t expansion = 0) {
159 memcpy($1,t,sizeof(Char)*n);
176 * %cstring_output_maxsize(Char *outx, int max) {
177 * void foo(Char *outx, int max) {
183 %typemap(in,noblock=1,fragment=SWIG_AsVal_frag(size_t)) (TYPEMAP, SIZE) (int res, size_t size, Char *buff = 0) {
188 buff= %new_array(size+1, Char);
206 * %cstring_output_maxsize(Char *outx, int *max) {
207 * void foo(Char *outx, int *max) {
214 %typemap(in,noblock=1,fragment=SWIG_AsVal_frag(size_t)) (TYPEMAP, SIZE) (int res, size_t n, Char *buff = 0, $*2_ltype size) {
219 buff= %new_array(n+1, Char);
239 * %cstring_output_allocated(Char **outx, free($1));
240 * void foo(Char **outx) {
241 * *outx = (Char *) malloc(512);
266 * %cstring_output_allocated(Char **outx, int *sz, free($1));
267 * void foo(Char **outx, int *sz) {
268 * *outx = (Char *) malloc(512);