Skip to content
  • sergei's avatar
    Continue fixing open array handling: · 1fcd40ee
    sergei authored
    * Unified fpc_initialize_array,fpc_finalize_array with fpc_decref_array and fpc_addref_array by removing 'size' parameter from the former two. Element size is easily calculated from RTTI, so omitting it simplifies code generation. All four helpers are now callable by tcg.g_array_rtti_helper().
    * ncgutil.pas: initialization of open array out-parameters is now done properly (using fpc_initialize_array).
    + Test
    
    git-svn-id: trunk@17081 -
    1fcd40ee