Skip to content

Commit

Permalink
Add SWIG byte pointers (#5832)
Browse files Browse the repository at this point in the history
  • Loading branch information
svotaw authored May 11, 2023
1 parent 1ccc7d4 commit 0957ab7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions swig/pointer_manipulation.i
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* to arrays of size max(int64_t) instead of max(int32_t).
*/

%pointer_functions(uint8_t, bytep)
%pointer_functions(int, intp)
%pointer_functions(long, longp)
%pointer_functions(double, doublep)
Expand All @@ -33,6 +34,7 @@
%pointer_cast(double *, void *, double_to_voidp_ptr)
%pointer_cast(float *, void *, float_to_voidp_ptr)
%pointer_cast(int *, void *, int_to_voidp_ptr)
%pointer_cast(uint8_t *, void *, byte_to_voidp_ptr)
%pointer_cast(int32_t *, void *, int32_t_to_voidp_ptr)
%pointer_cast(int64_t *, void *, int64_t_to_voidp_ptr)

Expand Down

0 comments on commit 0957ab7

Please sign in to comment.