Skip to content

Commit

Permalink
osc_str: users can now use append functions
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Gatto <matthias.gatto@outscale.com>
  • Loading branch information
outscale-mgo committed Jan 22, 2024
1 parent 0f0fcef commit 737eb64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion COGNAC
Submodule COGNAC updated 3 files
+7 −1 cognac_gen.sh
+3 −0 lib.h
+37 −8 main_tpl.c
3 changes: 3 additions & 0 deletions osc_sdk.h
Original file line number Diff line number Diff line change
Expand Up @@ -13066,6 +13066,9 @@ int osc_init_sdk_ext(struct osc_env *e, const char *profile,
unsigned int flag, struct osc_env_conf *cfg);
void osc_deinit_sdk(struct osc_env *e);

int osc_str_append_string(struct osc_str *osc_str, const char *str);
int osc_str_append_n_string(struct osc_str *osc_str, const char *str, int l);

/*
* osc_new_sdk/str and osc_destroy_sdk/str where made so we can use
* C++'s std::unique_ptr with the lib.
Expand Down

0 comments on commit 737eb64

Please sign in to comment.