I have posted a question: C++/CLI wrapper around a C library
In the C library (and subsequently in the C++/CLI wrapper), I have removed a bunch of structs and methods that are very redundant with the ones posted. Examples:
Examples of posted code:
typedef struct {
int left;
int top;
int right;
int bottom;
} frame_t;
int resize_to_fill(image_t *image, int width, int height);
int pack(image_t *images, int nb_images, parameters_t params);
Example of not posted code:
typedef struct {
int timestamp;
int group;
} photo_timestamp_t;
int resize_to_fit(image_t *image, int width, int height);
int clusterize(photo_timestamp_t *images, int nb_images);
Obviously the wrapper code around these structs and methods are very similar, so I did not think it interesting to post these parts.
I am wrong in my assumption ? Should I post all my code, just in case ?