The QRCode UDF
A UDF to generate and draw QRCodes.

The included .dll and .exe files are wrapper for the QRCode generator library provided by https://www.nayuki.io/page/qr-code-generator-library.
GitHub: https://github.com/nayuki/QR-Code-generator
They provide an easy to use interface for the library and are written in rust.


Information for dll calls:

pub struct QRCode {
    pub error: u8,
    pub width: u32,
    pub height: u32,
    pub data: *mut bool,
    pub needed_bits: u32,
    pub possible_bits: u32,
}

// encode utf-8 text
pub extern "C" fn EncodeText(input: *const u8, size: u32, ecl: u8, result: *mut QRCode) -> u8
// encode binary data
pub extern "C" fn EncodeBinary(input: *const u8, size: u32, ecl: u8, result: *mut QRCode) -> u8
// cleanup method (frees the memory of the data pointer)
pub extern "C" fn Clean(result: *mut QRCode)