Remove superfluous semicolons
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bf1d3f0714
commit
1fe29bae87
1 changed files with 2 additions and 2 deletions
|
|
@ -199,10 +199,10 @@ There probably is some compiler that its not true for, so the code is left here
|
|||
%{
|
||||
#ifdef __cplusplus /* generic alloc/dealloc fns*/
|
||||
#define SWIG_ALLOC_ARRAY(TYPE,LEN) new TYPE[LEN]
|
||||
#define SWIG_FREE_ARRAY(PTR) delete[] PTR;
|
||||
#define SWIG_FREE_ARRAY(PTR) delete[] PTR
|
||||
#else
|
||||
#define SWIG_ALLOC_ARRAY(TYPE,LEN) (TYPE *)malloc(LEN*sizeof(TYPE))
|
||||
#define SWIG_FREE_ARRAY(PTR) free(PTR);
|
||||
#define SWIG_FREE_ARRAY(PTR) free(PTR)
|
||||
#endif
|
||||
/* counting the size of arrays:*/
|
||||
SWIGINTERN int SWIG_itable_size(lua_State* L, int index)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue