Skip to main content

luaur_compiler/methods/
compile_error_what.rs

1use crate::records::compile_error::CompileError;
2use core::ffi::c_char;
3
4impl CompileError {
5    pub fn what(&self) -> *const c_char {
6        self.message.as_ptr() as *const c_char
7    }
8}