Skip to content

Commit c91d606

Browse files
feat: Initialize extern dtvcc init & free functions in C header
1 parent 9d41570 commit c91d606

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/lib_ccx/ccx_dtvcc.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,9 @@ void dtvcc_process_data(struct dtvcc_ctx *dtvcc,
1010
dtvcc_ctx *dtvcc_init(ccx_decoder_dtvcc_settings *opts);
1111
void dtvcc_free(dtvcc_ctx **);
1212

13-
#endif //CCEXTRACTOR_CCX_DTVCC_H
13+
#ifndef DISABLE_RUST
14+
extern void *ccxr_dtvcc_init(struct ccx_decoder_dtvcc_settings *settings_dtvcc);
15+
extern void ccxr_dtvcc_free(void *dtvcc_rust);
16+
#endif
17+
18+
#endif // CCEXTRACTOR_CCX_DTVCC_H

0 commit comments

Comments
 (0)