forked from nique_372/JsonParserByLeo
35 lines
1.4 KiB
MQL4
35 lines
1.4 KiB
MQL4
//+------------------------------------------------------------------+
|
|
//| Main.mqh |
|
|
//| Copyright 2026, Niquel Mendoza |
|
|
//| https://www.mql5.com |
|
|
//+------------------------------------------------------------------+
|
|
#property copyright "Copyright 2026, Niquel Mendoza"
|
|
#property link "https://www.mql5.com"
|
|
#property strict
|
|
|
|
#ifndef JSONPARSERBYLEO_SRC_DLL_MAIN_MQH
|
|
#define JSONPARSERBYLEO_SRC_DLL_MAIN_MQH
|
|
|
|
// JSONPARSERBYLEO_DLL
|
|
|
|
//+------------------------------------------------------------------+
|
|
//| |
|
|
//+------------------------------------------------------------------+
|
|
#ifdef JSONPARSERBYLEO_DLL_AVX2
|
|
|
|
/*
|
|
bool __stdcall JsonParserResolve(const uint8_t* m_raw, const int len, int* m_last_err, int* m_cinta_pos,
|
|
int* m_pos, const int m_offset, int64_t* m_cinta, int* m_index)
|
|
*/
|
|
|
|
//----
|
|
#import "JsonParserByLeo-Avx2.dll"
|
|
bool JsonParserResolve(const uint8_t& m_raw[], const int len, int& m_last_err, int& m_cinta_pos,
|
|
int& m_pos, const int m_offset, int64_t& m_cinta[], int& m_index[]);
|
|
#import
|
|
|
|
#endif // JSONPARSERBYLEO_DLL_AVX2
|
|
|
|
//---
|
|
#endif // JSONPARSERBYLEO_SRC_DLL_MAIN_MQH
|
|
//+------------------------------------------------------------------+
|