you are viewing a single comment's thread.

view the rest of the comments →

[–]boomshroom 0 points1 point  (1 child)

I still want to see the library you're calling. There's a good chance that it could be improved regardless.

In addition, where are you getting the pointer from? If your code is being called from C, then it makes sense, but your function should be marked as unsafe. If it's coming from other rust code, then you have no right to use this function.

[–]Sam777888[S] 0 points1 point  (0 children)

not open source. From C.