Update bytearr.c

remove the chinese comment.
This commit is contained in:
anod221 2018-08-30 22:53:31 +08:00 committed by GitHub
parent 856dcd6661
commit 825952cfd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@
#include "math.h"
#ifndef BYTEARRAY_RESERVE_SIZE
#define BYTEARRAY_RESERVE_SIZE 128 //每个ByteArray在构造的时候预先分配多少内存单位(字节)
#define BYTEARRAY_RESERVE_SIZE 128
#endif
#define BYTEARRAY_USE_CSTRING
@ -521,7 +521,7 @@ static int lbytearr_create( lua_State *L )
return 1;
}
// buf.init( 1,2,3 ) 或者 buf.init( {1,2,3} )
// buf.init( 1,2,3 ) or buf.init( {1,2,3} )
static int lbytearr_init( lua_State *L )
{
int n = lua_gettop( L );