size_t fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dc12af75b6
commit
a87c96ec8e
8 changed files with 8 additions and 23 deletions
|
|
@ -462,14 +462,7 @@
|
|||
* ANSI C typemaps
|
||||
* ------------------------------------------------------------ */
|
||||
|
||||
%typemap(in) size_t (int temp) "if (Tcl_GetIntFromObj(interp,$input,&temp) == TCL_ERROR) return TCL_ERROR;
|
||||
$1 = (size_t) temp;";
|
||||
|
||||
%typemap(out) size_t = long;
|
||||
%typemap(varin) size_t = long;
|
||||
%typemap(varout) size_t = long;
|
||||
%typemap(consttab) size_t = long;
|
||||
|
||||
%apply unsigned long { size_t };
|
||||
|
||||
|
||||
/* ------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue