mirror of
https://github.com/guilhermewerner/rust-ffi
synced 2025-06-16 05:44:19 +00:00
Add String Conversion Function
This commit is contained in:
@ -18,8 +18,15 @@ namespace Library
|
||||
|
||||
float Add(float num1, float num2);
|
||||
|
||||
/**
|
||||
* Dealloc a string pointer.
|
||||
*/
|
||||
void DeallocString(char *ptr);
|
||||
|
||||
float Divide(float num1, float num2);
|
||||
|
||||
char *Hello(char *input);
|
||||
|
||||
float Multiply(float num1, float num2);
|
||||
|
||||
float Subtract(float num1, float num2);
|
||||
|
Reference in New Issue
Block a user