Skip to content

Commit

Permalink
Name parameters for callback type
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarthayhurst committed Feb 2, 2024
1 parent 24d3d3b commit d8816da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ammonite/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <vector>

typedef void (*AmmoniteKeyCallback)(std::vector<int>, int, void*);
typedef void (*AmmoniteKeyCallback)(std::vector<int> keycode, int action, void* userPtr);

enum AmmoniteEnum : unsigned char {
//Keybinding constants
Expand Down

0 comments on commit d8816da

Please sign in to comment.