Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feature/c-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurynas-Jagutis committed Oct 21, 2024
2 parents 65e491c + 1274760 commit 5b4598a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extern "C" {
* @param handle
* @param file_buffer A pointer to the null-terminated C string.
* @return The pointer to a PGM_IO_VnfConverter instance. The instance must be freed by
* PGM_IO_delete_vnf_converter.
* PGM_IO_destroy_vnf_converter.
*/
PGM_IO_API PGM_IO_VnfConverter* PGM_IO_create_vnf_converter(PGM_IO_Handle* handle, char* file_buffer,
PGM_IO_Idx experimental_features);
Expand All @@ -35,7 +35,7 @@ PGM_IO_API char const* PGM_IO_get_vnf_input_data(PGM_IO_Handle* handle, PGM_IO_V
* @brief Destroy the PGM_IO_VnfConverter and free up the memory that was dedicated to it.
* @param converter_ptr A pointer to a PGM_IO_VnfConverter instance.
*/
PGM_IO_API void PGM_IO_delete_vnf_converter(PGM_IO_VnfConverter* converter_ptr);
PGM_IO_API void PGM_IO_destroy_vnf_converter(PGM_IO_VnfConverter* converter_ptr);

#ifdef __cplusplus
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ char const* PGM_IO_get_vnf_input_data(const PGM_IO_Handle* /*handle*/, PGM_IO_Vn
return convert_input_wrapper(converter_ptr).c_str();
}

void PGM_IO_delete_vnf_converter(PGM_IO_VnfConverter* converter_ptr) { delete converter_ptr; }
void PGM_IO_destroy_vnf_converter(PGM_IO_VnfConverter* converter_ptr) { delete converter_ptr; }

0 comments on commit 5b4598a

Please sign in to comment.