forked from vieter-v/libvieter
refactor: Created function that will return the char ** (originally char *) that will be used to make the description file. Also removed free that was resulting in a crash.
This commit is contained in:
parent
4309ad8cc5
commit
edca243331
2 changed files with 47 additions and 4 deletions
|
|
@ -21,6 +21,6 @@ typedef struct pkg {
|
|||
|
||||
Pkg *package_read_archive(const char *pkg_path);
|
||||
void package_free(Pkg ** ptp);
|
||||
char *package_to_description(Pkg *pkg);
|
||||
char **package_to_description(Pkg *pkg);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue