more speed ups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c12e955b0e
commit
cb4a1ff465
5 changed files with 46 additions and 23 deletions
|
|
@ -5,13 +5,14 @@
|
|||
|
||||
|
||||
#ifdef __cplusplus
|
||||
%apply size_t { std::size_t };
|
||||
%apply const size_t& { const std::size_t& };
|
||||
%apply size_t& { std::size_t& };
|
||||
|
||||
%apply ptrdiff_t { std::ptrdiff_t };
|
||||
%apply const ptrdiff_t& { const std::ptrdiff_t& };
|
||||
%apply ptrdiff_t& { std::ptrdiff_t& };
|
||||
namespace std
|
||||
{
|
||||
typedef ::ptrdiff_t ptrdiff_t;
|
||||
typedef ::size_t size_t;
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue