Created
April 16, 2019 22:19
-
-
Save VladRez/7c40976197938cd5cc0649c2d7236746 to your computer and use it in GitHub Desktop.
Displays internal function name decoration/mangling
This file contains hidden or 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
#include<iostream> | |
using namespace std; | |
extern "C" void examplefunction(double arg1); | |
int main(void) { | |
examplefunction(100); | |
} | |
void examplefunction(double arg1) { | |
printf("Function Name: %s\n", __FUNCTION__); | |
printf("Function Decorated Name %s\n", __FUNCDNAME__); | |
printf("Function signature %s\n", __FUNCSIG__); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment