Skip to content

Commit

Permalink
Merge pull request meekrosoft#20 from usr42/master
Browse files Browse the repository at this point in the history
Fix for issue 13: Add function prototype to DECLARE_* macro
  • Loading branch information
Mike Long authored Jan 28, 2018
2 parents b359c23 + 248c790 commit ffde053
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 10 deletions.
1 change: 1 addition & 0 deletions fakegen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit ffde053

Please sign in to comment.