1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-23 00:15:59 +01:00

Merge pull request #20 from usr42/master

Fix for issue 13: Add function prototype to DECLARE_* macro
This commit is contained in:
Mike Long
2018-01-28 17:35:58 +00:00
committed by GitHub
3 changed files with 81 additions and 10 deletions

View File

@@ -267,6 +267,7 @@ def output_variables(arg_count, has_varargs, is_value_function)
}
putd "extern FUNCNAME##_Fake FUNCNAME##_fake;\\"
putd "void FUNCNAME##_reset(void); \\"
putd function_signature(arg_count, has_varargs, is_value_function) + "; \\"
end
#example: ARG0_TYPE arg0, ARG1_TYPE arg1