[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: patch for ocamlsdl bug: mouse button event mismatch



On Sat, Jun 23, 2012 at 9:46 PM, Florent Monnier
<monnier.florent@gmail.com> wrote:
> This kind of code is weak. If the value of the macro changes again, your code
> will be broken again.

These mouse buttons macros didn't change, and they aren't going to change.
The issue is rather to make sure the binding handles sanely the case
where the enumeration
is extended (new #define added) and that's the goal of the BUTTON_X constructor.

-- 
  Olivier


Reply to: