2026-08-03 09:31:50 -05:00 | | | //+------------------------------------------------------------------+
|
| | | //| 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
|
| | |
|
| | | //+------------------------------------------------------------------+
|
| | | //| |
|
| | | //+------------------------------------------------------------------+
|
| | | #ifdef JSONPARSERBYLEO_DLL_AVX2
|
| | |
|
2026-08-03 12:14:49 -05:00 | | | /*
|
2026-09-18 14:11:09 -05:00 | | | extern "C" __declspec(dllexport)
|
| | | // array ya allocado tambein raw solo hace falta rellenar
|
| | | bool __stdcall JsonParserResolve(
|
| | | const uint8_t* m_raw, // datos de entrada
|
2026-10-19 07:27:55 -05:00 | | | uint64_t* m_cinta, // cinta de datos
|
2026-09-18 14:11:09 -05:00 | | | int* m_index, // array de indices structurales
|
| | | const int len, // tamaño de raw
|
2026-10-19 07:27:55 -05:00 | | | const uint64_t jit_enabled, // valor del 2do slot de los objetos (JIT habilitado o no)
|
2026-09-18 14:11:09 -05:00 | | |
|
| | | //--- salida
|
| | | int* m_last_err, // ultimo err
|
| | | int* m_cinta_pos, // posicion actul en la cinta
|
| | | int* m_pos // ultima posicion en la lecutra de raw
|
| | | ) // retorna true en caso de exito, false de lo contrario..
|
2026-08-03 12:14:49 -05:00 | | | */
|
| | |
|
2026-08-03 09:31:50 -05:00 | | | //----
|
| | | #import "JsonParserByLeo-Avx2.dll"
|
2026-09-18 14:11:09 -05:00 | | | bool JsonParserResolve(
|
| | | const uint8_t& m_raw[],
|
2026-10-19 07:27:55 -05:00 | | | uint64_t& m_cinta[],
|
2026-09-18 14:11:09 -05:00 | | | int& m_index[],
|
| | | const int len,
|
2026-10-19 07:27:55 -05:00 | | | const uint64_t jit_enabled,
|
2026-09-18 14:11:09 -05:00 | | | int& m_last_err,
|
| | | int& m_cinta_pos,
|
| | | int& m_pos
|
| | | );
|
2026-08-03 09:31:50 -05:00 | | | #import
|
| | |
|
2026-09-18 14:11:09 -05:00 | | |
|
| | | //---
|
2026-08-03 09:31:50 -05:00 | | | #endif // JSONPARSERBYLEO_DLL_AVX2
|
| | |
|
| | | //---
|
| | | #endif // JSONPARSERBYLEO_SRC_DLL_MAIN_MQH
|
| | | //+------------------------------------------------------------------+
|