arpadboda commented on a change in pull request #436: MINIFICPP-667: Add 
structural definitions to work out plan for C migr…
URL: https://github.com/apache/nifi-minifi-cpp/pull/436#discussion_r252667970
 
 

 ##########
 File path: nanofi/src/cxx/nanofi_cpp_layer.cpp
 ##########
 @@ -0,0 +1,65 @@
+#include <string>
+#include <map>
+#include <memory>
+#include <utility>
+#include <exception>
+
+#include "api/nanofi.h"
+#include "core/Core.h"
+#include "core/expect.h"
+#include "cxx/Instance.h"
+#include "cxx/Plan.h"
+#include "ResourceClaim.h"
+#include "processors/GetFile.h"
+#include "core/logging/LoggerConfiguration.h"
+#include "utils/StringUtils.h"
+
+#include "cxx/nanofi_cpp_layer.h"
+
+class API_INITIALIZER {
+ public:
+  static int initialized;
+};
+
+int API_INITIALIZER::initialized = initialize_api();
+
 
 Review comment:
   You mean NOT going to merge?
   
   Totally agree, my current site2site work introduces UT collections anyway to 
help working in C. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to