ardour/libs/evoral/src
David Robillard e0aaed6d65 *** NEW CODING POLICY ***
All #include statements that include a header that is a part of a library
bundled with ardour MUST use quotes, not angle brackets.

Do this:

#include "ardour/types.h"

NOT this:

#include <ardour/types.h>

Rationale:

This is best practice in general, to ensure we include the local version
and not the system version.  That quotes mean "local" (in some sense)
and angle brackets mean "system" (in some sense) is a ubiquitous
convention and IIRC right in the C spec somewhere.

More pragmatically, this is required by (my) waf (stuff) for dependencies
to work correctly.  That is:

!!! FAILURE TO DO THIS CAN RESULT IN BROKEN BUILDS !!!

Failure to comply is punishable by death by torture. :)

P.S. It's not that dramatic in all cases, but this (in combination with some
GCC flags specific to the include type) is the best way I have found to be
absolutely 100% positive the local ones are being used (and we definitely
want to be absolutely 100% positive on that one).


git-svn-id: svn://localhost/ardour2/branches/3.0@4655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 18:26:51 +00:00
..
libsmf Make smf_track_get_next_event gracefully handle empty tracks. 2009-02-15 17:16:58 +00:00
Control.cpp Sync with http://svn.drobilla.net/lad/trunk/evoral r1891. 2008-12-21 20:36:15 +00:00
ControlList.cpp Only create a Curve for an AutomationList if we need it. 2009-02-19 19:42:25 +00:00
ControlSet.cpp Sync with http://svn.drobilla.net/lad/trunk/evoral r1891. 2008-12-21 20:36:15 +00:00
Curve.cpp Sync with http://svn.drobilla.net/lad/trunk/evoral r1891. 2008-12-21 20:36:15 +00:00
Event.cpp Use nframes_t for timestamps of real (jack) time MIDI events (i.e. in MidiBuffer and MidiRingBuffer). 2009-02-15 01:24:26 +00:00
MIDIEvent.cpp *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
Note.cpp Remove superfluous typedefs. 2009-02-14 23:41:05 +00:00
OldSMF.cpp Remove abstract MIDIFile interface (maintaining interface with old crap was getting annoying). 2009-02-14 17:39:49 +00:00
Sequence.cpp Fix deadlock and potential race condition when editing MIDI. 2009-02-17 06:09:37 +00:00
SMF.cpp Fix the horrible mess that was anything related to sources and paths. 2009-02-17 02:11:49 +00:00
SMFReader.cpp * midi_event_size(uchar status): return size including status / handle sysex 2009-02-03 08:46:24 +00:00