/** * Allocate a new <code>BASS_MIDI_FONTINFO</code>.<br> * The call <code>isNull()</code> on the object created will return false.<br> * * <pre><code> BASS_MIDI_FONTINFO obj = BASS_MIDI_FONTINFO.allocate(); * (obj == null) <=> obj.isNull() <=> false * </code></pre> */ public static BASS_MIDI_FONTINFO allocate() { final long pointer = StructureJNI.BASS_MIDI_FONTINFO_new(); if (pointer == 0) throw new OutOfMemoryError(); return new BASS_MIDI_FONTINFO(pointer); }