Mercurial > octave-nkf
view test/bug-38565.tst @ 19515:9d1917a61759
allow __player_audioplayer__ to build even when PortAudio is not present
* __player_audioplayer__.cc: added conditional compilation constructs to
prevent parts requiring PortAudio from being built if it is not present
author | Vytautas Jančauskas <unaudio@gmail.com> |
---|---|
date | Mon, 16 Sep 2013 16:26:29 +0300 |
parents | b9e510a1f308 |
children |
line wrap: on
line source
%!function r = f (x) %! if (ischar (x)) %! r = x; %! else %! error ("expecting character string"); %! endif %!endfunction %!assert (eval ("f 10;"), "10");