[PD-cvs] externals/miXed/cyclone/shadow maxmode.c,NONE,1.1

Krzysztof Czaja krzyszcz at users.sourceforge.net
Wed Dec 8 16:45:26 CET 2004


Update of /cvsroot/pure-data/externals/miXed/cyclone/shadow
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12072/cyclone/shadow

Added Files:
	maxmode.c 
Log Message:


--- NEW FILE: maxmode.c ---
/* Copyright (c) 2004 krzYszcz and others.
 * For information on usage and redistribution, and for a DISCLAIMER OF ALL
 * WARRANTIES, see the file, "LICENSE.txt," in this distribution.  */

#include "m_pd.h"
#include "common/loud.h"
#include "unstable/loader.h"

void maxmode_setup(void)
{
    shared_setmaxcompatibility();
    if (zgetfn(&pd_objectmaker, gensym("cyclone")))
	loud_warning(0, "maxmode", "cyclone is already loaded");
    else
    {
	if (unstable_load_lib("", "cyclone") == LOADER_NOFILE)
	    loud_error(0, "cyclone library is missing");
	else if (!zgetfn(&pd_objectmaker, gensym("cyclone")))
	    loud_error(0, "miXed/Pd version mismatch");
    }
}





More information about the Pd-cvs mailing list