@@ -205,15 +205,13 @@ WALLY_CORE_API int wally_tx_witness_stack_set_dummy(
205205 size_t index ,
206206 uint32_t flags );
207207
208- #ifndef SWIG_PYTHON
209208/**
210209 * Free a transaction witness stack allocated by `wally_tx_witness_stack_init_alloc`.
211210 *
212211 * :param stack: The transaction witness stack to free.
213212 */
214213WALLY_CORE_API int wally_tx_witness_stack_free (
215214 struct wally_tx_witness_stack * stack );
216- #endif /* SWIG_PYTHON */
217215
218216/**
219217 * Allocate and initialize a new transaction input.
@@ -238,16 +236,13 @@ WALLY_CORE_API int wally_tx_input_init_alloc(
238236 const struct wally_tx_witness_stack * witness ,
239237 struct wally_tx_input * * output );
240238
241- #ifndef SWIG_PYTHON
242239/**
243240 * Free a transaction input allocated by `wally_tx_input_init_alloc`.
244241 *
245242 * :param input: The transaction input to free.
246243 */
247244WALLY_CORE_API int wally_tx_input_free (struct wally_tx_input * input );
248- #endif /* SWIG_PYTHON */
249245
250- #ifndef SWIG
251246/**
252247 * Initialize a new transaction output.
253248 *
@@ -260,7 +255,6 @@ WALLY_CORE_API int wally_tx_output_init(uint64_t satoshi,
260255 const unsigned char * script ,
261256 size_t script_len ,
262257 struct wally_tx_output * output );
263- #endif /* SWIG */
264258
265259/**
266260 * Allocate and initialize a new transaction output.
@@ -286,7 +280,6 @@ WALLY_CORE_API int wally_tx_output_clone_alloc(
286280 const struct wally_tx_output * tx_output_in ,
287281 struct wally_tx_output * * output );
288282
289- #ifndef SWIG
290283/**
291284 * Create a new copy of a transaction output in place.
292285 *
@@ -298,16 +291,13 @@ WALLY_CORE_API int wally_tx_output_clone_alloc(
298291WALLY_CORE_API int wally_tx_output_clone (
299292 const struct wally_tx_output * tx_output_in ,
300293 struct wally_tx_output * output );
301- #endif /* SWIG */
302294
303- #ifndef SWIG_PYTHON
304295/**
305296 * Free a transaction output allocated by `wally_tx_output_init_alloc`.
306297 *
307298 * :param output: The transaction output to free.
308299 */
309300WALLY_CORE_API int wally_tx_output_free (struct wally_tx_output * output );
310- #endif /* SWIG_PYTHON */
311301
312302/**
313303 * Allocate and initialize a new transaction.
@@ -524,14 +514,12 @@ WALLY_CORE_API int wally_tx_get_witness_count(
524514 const struct wally_tx * tx ,
525515 size_t * written );
526516
527- #ifndef SWIG_PYTHON
528517/**
529518 * Free a transaction allocated by `wally_tx_init_alloc`.
530519 *
531520 * :param tx: The transaction to free.
532521 */
533522WALLY_CORE_API int wally_tx_free (struct wally_tx * tx );
534- #endif /* SWIG_PYTHON */
535523
536524/**
537525 * Return the txid of a transaction.
@@ -761,15 +749,13 @@ WALLY_CORE_API int wally_tx_elements_input_issuance_set(
761749 const unsigned char * inflation_keys_rangeproof ,
762750 size_t inflation_keys_rangeproof_len );
763751
764- #ifndef SWIG_PYTHON
765752/**
766753 * Free issuance data on an input.
767754 *
768755 * :param input: The input issuance data to free.
769756 */
770757WALLY_CORE_API int wally_tx_elements_input_issuance_free (
771758 struct wally_tx_input * input );
772- #endif /* SWIG_PYTHON */
773759
774760/**
775761 * Allocate and initialize a new elements transaction input.
@@ -858,17 +844,14 @@ WALLY_CORE_API int wally_tx_elements_output_commitment_set(
858844 const unsigned char * rangeproof ,
859845 size_t rangeproof_len );
860846
861- #ifndef SWIG_PYTHON
862847/**
863848 * Free commitment data on an output.
864849 *
865850 * :param output: The output with the commitment data to free.
866851 */
867852WALLY_CORE_API int wally_tx_elements_output_commitment_free (
868853 struct wally_tx_output * output );
869- #endif /* SWIG_PYTHON */
870854
871- #ifndef SWIG
872855/**
873856 * Initialize a new elements transaction output in place.
874857 *
@@ -902,7 +885,6 @@ WALLY_CORE_API int wally_tx_elements_output_init(
902885 const unsigned char * rangeproof ,
903886 size_t rangeproof_len ,
904887 struct wally_tx_output * output );
905- #endif /* SWIG */
906888
907889/**
908890 * Allocate and initialize a new elements transaction output.
0 commit comments