Fixed marshaling to work with the new unsafe pointers which simplified the code a lot.
Fixed marshaling to work with the new unsafe pointers which simplified the code a lot.

KonajuGames/CppSharp,zillemarco/CppSharp,mono/CppSharp,ktopouzi/CppSharp,KonajuGames/CppSharp,ddobrev/CppSharp,SonyaSa/CppSharp,u255436/CppSharp,ktopouzi/CppSharp,inordertotest/CppSharp,inordertotest/CppSharp,mono/CppSharp,ddobrev/CppSharp,genuinelucifer/CppSharp,mohtamohit/CppSharp,mohtamohit/CppSharp,txdv/CppSharp,mydogisbox/CppSharp,mono/CppSharp,ddobrev/CppSharp,nalkaro/CppSharp,mono/CppSharp,ddobrev/CppSharp,mydogisbox/CppSharp,Samana/CppSharp,txdv/CppSharp,SonyaSa/CppSharp,Samana/CppSharp,inordertotest/CppSharp,txdv/CppSharp,ddobrev/CppSharp,zillemarco/CppSharp,u255436/CppSharp,imazen/CppSharp,nalkaro/CppSharp,ktopouzi/CppSharp,nalkaro/CppSharp,xistoso/CppSharp,genuinelucifer/CppSharp,inordertotest/CppSharp,zillemarco/CppSharp,zillemarco/CppSharp,imazen/CppSharp,KonajuGames/CppSharp,u255436/CppSharp,Samana/CppSharp,mohtamohit/CppSharp,KonajuGames/CppSharp,mohtamohit/CppSharp,mydogisbox/CppSharp,u255436/CppSharp,inordertotest/CppSharp,imazen/CppSharp,imazen/CppSharp,nalkaro/CppSharp,mono/CppSharp,Samana/CppSharp,KonajuGames/CppSharp,Samana/CppSharp,ktopouzi/CppSharp,SonyaSa/CppSharp,xistoso/CppSharp,genuinelucifer/CppSharp,mydogisbox/CppSharp,genuinelucifer/CppSharp,genuinelucifer/CppSharp,u255436/CppSharp,mydogisbox/CppSharp,mono/CppSharp,txdv/CppSharp,imazen/CppSharp,SonyaSa/CppSharp,txdv/CppSharp,nalkaro/CppSharp,SonyaSa/CppSharp,xistoso/CppSharp,xistoso/CppSharp,ktopouzi/CppSharp,zillemarco/CppSharp,mohtamohit/CppSharp,xistoso/CppSharp