Jamoma API
0.6.0.a19
|
Various utilities for interfacing with Pd that are not specific to JamomaModular as such. More...
#include "TTFoundationAPI.h"
#include "TTModular.h"
#include "cicm_wrapper.h"
#include "commonsyms.h"
#include <math.h>
#include <stdlib.h>
#include "JamomaPdVersion.h"
#include "JamomaObject.h"
#include "JamomaPdObjectTypes.h"
#include "JamomaSymbols.h"
#include "JamomaModularForPd.h"
Go to the source code of this file.
Functions | |
void JAMOMA_EXPORT | jamoma_atom_copy (t_atom *dst, t_atom *src) |
Utility function to perform an atom copy. More... | |
bool JAMOMA_EXPORT | jamoma_atom_compare (t_symbol *type, t_atom *a1, t_atom *a2) |
Utility function to compare two t_atoms. More... | |
bool JAMOMA_EXPORT | jamoma_string_compare (char *s1, char *s2) |
Compare two strings. More... | |
bool JAMOMA_EXPORT | jamoma_loadextern (t_symbol *objectname, long argc, t_atom *argv, t_object **object) |
Load obex externals for use within other externals. More... | |
Various utilities for interfacing with Pd that are not specific to JamomaModular as such.
Functions and resources used by Pd objects.
Definition in file JamomaForPd.h.
bool JAMOMA_EXPORT 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.
References jps_array, jps_boolean, jps_decimal, jps_decimalArray, jps_generic, jps_integer, jps_integerArray, and jps_string.
void JAMOMA_EXPORT 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_EXPORT 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.
bool JAMOMA_EXPORT 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.