diff options
Diffstat (limited to 'profcollectd/libprofcollectd/bindings/libbase/properties.hpp')
-rw-r--r-- | profcollectd/libprofcollectd/bindings/libbase/properties.hpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/profcollectd/libprofcollectd/bindings/libbase/properties.hpp b/profcollectd/libprofcollectd/bindings/libbase/properties.hpp index d6785a28..c8ef1f64 100644 --- a/profcollectd/libprofcollectd/bindings/libbase/properties.hpp +++ b/profcollectd/libprofcollectd/bindings/libbase/properties.hpp @@ -14,6 +14,9 @@ * limitations under the License. */ -// C declaration for bindgen. -const char* GetProperty(const char*, const char*); -void SetProperty(const char*, const char*); +#pragma once + +#include "rust/cxx.h" + +rust::String GetProperty(rust::Str, rust::Str); +void SetProperty(rust::Str, rust::Str); |