mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-30 11:44:28 +03:00
msvc: use the vectorcall calling convention
This requires declaring external interfaces with the cdecl calling convention.
This commit is contained in:
@@ -115,9 +115,9 @@ void initExt(hs_expr_ext *ext) {
|
||||
ext->max_offset = MAX_OFFSET;
|
||||
}
|
||||
|
||||
bool readExpression(const std::string &input, std::string &expr,
|
||||
unsigned int *flags, hs_expr_ext *ext,
|
||||
bool *must_be_ordered) {
|
||||
bool HS_CDECL readExpression(const std::string &input, std::string &expr,
|
||||
unsigned int *flags, hs_expr_ext *ext,
|
||||
bool *must_be_ordered) {
|
||||
assert(flags);
|
||||
assert(ext);
|
||||
|
||||
|
Reference in New Issue
Block a user