refactoring to use cob_put_field_str and cob_get_field_* functions
the following was suggested by mail:
-
use the cob_put_field_str and cob_get_field_* functions wherever possible within the python extension -
check which parts of the VARIABLE_STRING and other insertions are still needed, document (=list) what parts are needed for what -
adjust cobcd to only emit the still necessary parts and to reduce the parsing to what is necessary to get this information
I expect the python plugin to get smaller and the overall performance to be increased by that step, but especially I expect the plugin to handle any variable type that way, also in the correct dynamic length (#2 (closed)).
We may find that some cob_xyz_field_xyz function is missing in 3.1rc1 to get rid of more additional codegen / COBOL logic in python, and if we get to this state very soon we can add those parts for rc2.