]> git.seodisparate.com - UDPConnection/commitdiff
Simpifly opaque struct handle to context
authorStephen Seo <seo.disparate@gmail.com>
Fri, 30 Aug 2019 03:11:07 +0000 (12:11 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Fri, 30 Aug 2019 03:11:07 +0000 (12:11 +0900)
cpp_impl/src/UDPConnection.h

index 7cfa8b41a9466e43e34fcfbc94b26efa4fcaf0c2..d1dcd1e3db530936483c46b2164f7d5e320cc850 100644 (file)
@@ -46,8 +46,7 @@ extern "C" {
 
 // Opaque struct handle to Context
 struct UDPC_Context;
-typedef struct UDPC_Context *UDPC_PContext;
-typedef UDPC_PContext UDPC_HContext;
+typedef struct UDPC_Context *UDPC_HContext;
 
 typedef enum { SILENT, ERROR, WARNING, VERBOSE, INFO } UDPC_LoggingType;