In this section there are some notes on the changes that need to be made to the source code to move from one version to the next.
Mainly only those changes are reported that concern a change in the way of using functions and data structures.
For other changes, please refer to the Change Log .
Migrate from version 1.17.x to version 1.18.x
No source code migration on the main functions is necessary to move from version 1.17.x to version 1.18.x.
Migrate from version 1.16.x to version 1.17.x
No source code migration on the main functions is necessary to move from version 1.16.x to version 1.17.x.
Migrate from version 1.15.x to version 1.16.x
No source code migration on the main functions is necessary to move from version 1.15.x to version 1.16.x.
Migrate from version 1.14.x to version 1.15.x
No source code migration on the main functions is necessary to move from version 1.14.x to version 1.15.x.
Migrate from version 1.13.x to version 1.14.x
The source code to get project parameters structure in version 1.13.x:
sb_t_err sb_project_get_par(SB_HANDLE handle, sb_t_par **const par)
Retrieves the project parameters structure.
or:
should be modified as:
sb_t_err sb_par_destroy(sb_t_par **const par)
Destroys the project parameters structure.
Migrate from version 1.12.x to version 1.13.x
No source code migration on the main functions is necessary to move from version 1.12.x to version 1.13.x.
Migrate from version 1.11.x to version 1.12.x
No source code migration on the main functions is necessary to move from version 1.11.x to version 1.12.x.
Migrate from version 1.10.x to version 1.11.x
No source code migration on the main functions is necessary to move from version 1.10.x to version 1.11.x.
Migrate from version 1.9.x to version 1.10.x
Load a project
The source code to load a project in version 1.9.x:
void * SB_HANDLE
HANDLE definition.
sb_t_err sb_project_load(SB_HANDLE *phandle, const char *const solution_file, const char *const project_uuid, sb_t_project_mode mode)
Loads an existing project from a solution file.
sb_t_err sb_solution_get_info(const char *const solution_file, sb_t_solution_info **const solution)
Returns the information contained in the solution_file.
#define SB_SOLUTION_EXT
Extension of the SqueezeBrains solution file.
sb_t_err sb_solution_destroy_info(sb_t_solution_info **const solution)
Destroys the structure of the solution information.
char uuid[SB_PROJECT_UUID_LEN]
Project UUID.
sb_t_project_info * info
Array of solution project information.
sb_t_projects_info projects
Array of the projects info.
int current_project
Index of the current project in the projects array.
should be modified as:
@ SB_PROJECT_MODE_DETECTION_ONLY
Load/save the minimum module information to allow detection.
Save a project
The source code to save a project in version 1.9.x:
sb_t_err sb_project_save(SB_HANDLE handle, const char *const solution_file, sb_t_project_mode mode)
Saves the project to file.
should be modified as:
@ SB_PROJECT_MODE_DETECTION_AND_SVL
Load/save all the module information.
Migrate from version 1.8.x to version 1.9.x
Load a project
The source code to load a project in version 1.8.x:
@ SB_PROJECT_TYPE_RETINA
Project Retina.
should be modified as:
Migrate from version 1.7.x to version 1.8.x
To load a Retina project
The source code to load a Retina project in version 1.7.x:
sb_retina_load(&project, "test.rprj", NULL);
should be modified as:
To load a Surface project
The source code to load a Surface project in version 1.7.x:
sb_surface_load(&project, "test.rprj", NULL);
should be modified as:
@ SB_PROJECT_TYPE_SURFACE
Project Surface.