Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
0957ab72
Unverified
Commit
0957ab72
authored
May 11, 2023
by
Scott Votaw
Committed by
GitHub
May 11, 2023
Browse files
Add SWIG byte pointers (#5832)
parent
1ccc7d41
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
swig/pointer_manipulation.i
swig/pointer_manipulation.i
+2
-0
No files found.
swig/pointer_manipulation.i
View file @
0957ab72
...
@@ -15,6 +15,7 @@
...
@@ -15,6 +15,7 @@
* to arrays of size max(int64_t) instead of max(int32_t).
* to arrays of size max(int64_t) instead of max(int32_t).
*/
*/
%
pointer_functions
(
uint8_t
,
bytep
)
%
pointer_functions
(
int
,
intp
)
%
pointer_functions
(
int
,
intp
)
%
pointer_functions
(
long
,
longp
)
%
pointer_functions
(
long
,
longp
)
%
pointer_functions
(
double
,
doublep
)
%
pointer_functions
(
double
,
doublep
)
...
@@ -33,6 +34,7 @@
...
@@ -33,6 +34,7 @@
%
pointer_cast
(
double
*
,
void
*
,
double_to_voidp_ptr
)
%
pointer_cast
(
double
*
,
void
*
,
double_to_voidp_ptr
)
%
pointer_cast
(
float
*
,
void
*
,
float_to_voidp_ptr
)
%
pointer_cast
(
float
*
,
void
*
,
float_to_voidp_ptr
)
%
pointer_cast
(
int
*
,
void
*
,
int_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
(
int32_t
*
,
void
*
,
int32_t_to_voidp_ptr
)
%
pointer_cast
(
int64_t
*
,
void
*
,
int64_t_to_voidp_ptr
)
%
pointer_cast
(
int64_t
*
,
void
*
,
int64_t_to_voidp_ptr
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment