Jamoma API
0.6.0.a19
|
Jamoma For Max Shared Library. More...
#include "JamomaForMax.h"
Go to the source code of this file.
Functions | |
void | jamoma_atom_copy (t_atom *dst, t_atom *src) |
Utility function to perform an atom copy. More... | |
bool | jamoma_atom_compare (t_symbol *type, t_atom *a1, t_atom *a2) |
Utility function to compare two t_atoms. More... | |
bool | jamoma_string_compare (char *s1, char *s2) |
Compare two strings. More... | |
bool | jamoma_loadextern (t_symbol *objectname, long argc, t_atom *argv, t_object **object) |
Load obex externals for use within other externals. More... | |
Variables | |
bool | max5 = false |
Is Jamoma currently running in Max 5 or newer? | |
bool | max6 = false |
Is Jamoma currently running in Max 6 or newer? | |
TTRegex * | ttRegexForJmod = NULL |
A global regex to parse jmod. (usefull to detect a 0.5 module) | |
TTRegex * | ttRegexForJcom = NULL |
A global regex to parse j. | |
TTRegex * | ttRegexForModel = NULL |
A global regex to parse .model. | |
TTRegex * | ttRegexForModule = NULL |
A global regex to parse .module. | |
TTRegex * | ttRegexForView = NULL |
A global regex to parse .view. | |
TTRegex * | ttRegexForMaxpat = NULL |
A global regex to parse .maxpat. | |
TTRegex * | ttRegexForMaxhelp = NULL |
A global regex to parse .maxhelp. | |
TTRegex * | ttRegexForBracket = NULL |
A global regex to parse [ and ]. | |
Jamoma For Max Shared Library.
Functions and resources used by Max objects.
Definition in file JamomaForMax.cpp.
bool jamoma_atom_compare | ( | t_symbol * | type, |
t_atom * | a1, | ||
t_atom * | a2 | ||
) |
Utility function to compare two t_atoms.
type | The atom type of a1. |
a1 | A t_atom. |
a2 | The t_atom to compare against. |
Definition at line 186 of file JamomaForMax.cpp.
void jamoma_atom_copy | ( | t_atom * | dst, |
t_atom * | src | ||
) |
Utility function to perform an atom copy.
dst | The destination t_atom. |
src | The t_atom to be copied. |
Definition at line 180 of file JamomaForMax.cpp.
bool jamoma_loadextern | ( | t_symbol * | objectname, |
long | argc, | ||
t_atom * | argv, | ||
t_object ** | object | ||
) |
Load obex externals for use within other externals.
objectname | The object name (i.e. SymbolGen("j.send")). |
argc | Number of arguments to the external to be loaded. |
argv | Pointer to the first of an array of atom arguments to the external that is to be loaded. |
object | If the object is loaded successfully, this will be a pointer to the object pointer. |
Definition at line 258 of file JamomaForMax.cpp.
Referenced by main().
bool jamoma_string_compare | ( | char * | s1, |
char * | s2 | ||
) |
Compare two strings.
s1 | Pointer to the first of the two strings to compare- |
s2 | Pointer to the second of the two strings to compare. |
Definition at line 234 of file JamomaForMax.cpp.