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
#include <gtest/gtest.h> | |
#include "nng/nng.h" | |
#include "nng/protocol/pair0/pair.h" | |
#include <iostream> | |
constexpr const char *k_url = "ipc://test_socket"; | |
int SrvSockOpen( |
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
+class ActionStoreDeprecated(argparse.Action): | |
+ def __call__(self, parser, namespace, values, option_string=None): | |
+ logger.warn('DEPRECATED: using %s', '|'.join(self.option_strings)) | |
+ setattr(namespace, self.dest, values) | |
+ | |
+ | |
+class ActionAppendDeprecated(argparse.Action): | |
+ def __call__(self, parser, namespace, values, option_string=None): | |
+ logger.warn('DEPRECATED: using %s', '|'.join(self.option_strings)) | |
+ if not getattr(namespace, self.dest): |