mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Type renames:
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
This commit is contained in:
parent
710692278d
commit
bc26f90581
266 changed files with 2466 additions and 2468 deletions
|
@ -564,9 +564,9 @@ StreamPeerSSL* StreamPeerOpenSSL::_create_func() {
|
|||
Vector<X509*> StreamPeerOpenSSL::certs;
|
||||
|
||||
|
||||
void StreamPeerOpenSSL::_load_certs(const ByteArray& p_array) {
|
||||
void StreamPeerOpenSSL::_load_certs(const PoolByteArray& p_array) {
|
||||
|
||||
ByteArray::Read r = p_array.read();
|
||||
PoolByteArray::Read r = p_array.read();
|
||||
BIO* mem = BIO_new(BIO_s_mem());
|
||||
BIO_puts(mem,(const char*)r.ptr());
|
||||
while(true) {
|
||||
|
@ -598,11 +598,11 @@ void StreamPeerOpenSSL::initialize_ssl() {
|
|||
|
||||
FileAccess *f=FileAccess::open(certs_path,FileAccess::READ);
|
||||
if (f) {
|
||||
ByteArray arr;
|
||||
PoolByteArray arr;
|
||||
int flen = f->get_len();
|
||||
arr.resize(flen+1);
|
||||
{
|
||||
ByteArray::Write w = arr.write();
|
||||
PoolByteArray::Write w = arr.write();
|
||||
f->get_buffer(w.ptr(),flen);
|
||||
w[flen]=0; //end f string
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue