Lines Matching defs:cptr
1634 SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
1640 if (cptr) {
1643 *cptr = (char *)memcpy((char *)malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
1645 *cptr = cstr;
1657 if (cptr) *cptr = vptr;
1693 SWIG_FromCharPtr(const char *cptr)
1695 return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));