Closed arrudagates closed 3 years ago
Non pub functions are being generated alongside pub functions example:
#[ligen(c)] impl Adder { fn string_test(a: String) -> String { println!("{:#?}", a); a } }
has a header entry generated:
#pragma once #include <stdint.h> #ifdef __cplusplus extern "C" { #endif typedef struct Struct_Adder { void* self; } Adder; RString Adder_string_test(const char* a); void Adder_destroy(Adder adder); #ifdef __cplusplus } #endif
Non pub functions are being generated alongside pub functions example:
has a header entry generated: