Created
September 24, 2015 18:18
-
-
Save haldean/ad5c7a75c4c2c363837f to your computer and use it in GitHub Desktop.
Benny's thing
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
#define _WRAPPER_NAME bfs | |
#include "generate_wrapper.h" | |
/* use RequstWrapper in here */ |
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
#ifndef _WRAPPER_NAME | |
#error "No wrapper named defined when including generate_wrapper.h" | |
#endif | |
#ifndef _WRAPPER_NAME ## _REQUEST_WRAPPER | |
class RequestWrapper : public _WRAPPER_NAME::Request | |
{ | |
/* impl here */ | |
} | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment