This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Copyright (c) 2022 Diego da Silva Lima (lima.ds@outlook.com). All rights reserved. | |
This work is licensed under the terms of the GPL v3.0 License. | |
For a copy, see http://www.gnu.org/licenses.*/ | |
Credits: This file was based on the Rust language definition by the Rust developers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use proc_macro::TokenStream; | |
use syn::{parse_macro_input}; | |
use serde::{Serialize, Deserialize}; | |
use quote::ToTokens; | |
use std::str::FromStr; | |
/* Example usage: | |
#[export_abi] | |
mod { |