summaryrefslogtreecommitdiff
path: root/.dir-locals.el
Commit message (Collapse)AuthorAgeFilesLines
* surface: Fix SDL_Surface struct parsing.David Thompson2016-01-011-1/+2
| | | | | | | | | | | | | | | | The code worked fine on Guile 2.0.11, but Guile master revealed how bad it was to use 'sizeof' to calculate byte offsets into structs due to the padding calculations it does. On Guile master, the offset for surface height and pitch were the same, and that lead to bad news when trying to use that incorrectly parsed data to inspect the pixel buffer. * sdl2/surface.scm (%width-offset, %height-offset, %pitch-offset) (%pixels-offset): Delete. (%surface-types): New variable. (surface-parse-match): New syntax. (surface-width, surface-height, surface-pitch, surface-pixels): Use new struct parsing method. * .dirlocals.el: Add new indenting rule.
* Add Emacs directory local configuration.David Thompson2015-12-141-0/+4