~ubuntu-branches/ubuntu/precise/csound/precise

« back to all changes in this revision

Viewing changes to H/cs_par_base.h

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2012-04-19 09:26:46 UTC
  • mfrom: (3.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20120419092646-96xbj1n6atuqosk2
Tags: 1:5.17.6~dfsg-1
* New upstream release
 - Do not build the wiimote opcodes (we need wiiuse).
* Add new API function to symbols file
* Disable lua opcodes, they were broken. Requires OpenMP to be enabled.
* Backport fixes from upstream:
  - Link dssi4cs with dl. Backport
  - Fix building of CsoundAC

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
  #define TIMER_START(val, name) \
47
47
              csound->InitTimerStruct(& val ## _timer); \
48
48
              csound->Message(csound, name "Start: %f\n", \
49
 
                              csound->GetRealTime(& val ## _timer));
 
49
                              csound->GetRealTime(& val ## _timer))
50
50
  #define TIMER_END(val, name) \
51
51
              csound->Message(csound, name "End: %f\n", \
52
 
                              csound->GetRealTime(& val ## _timer));
 
52
                              csound->GetRealTime(& val ## _timer))
53
53
 
54
54
  #define TIMER_T_START(val, index, name) \
55
55
              csound->InitTimerStruct(& val ## _timer); \
56
56
              csound->Message(csound, "[%i] " name "Start: %f\n", \
57
 
                              index, csound->GetRealTime(& val ## _timer));
 
57
                              index, csound->GetRealTime(& val ## _timer))
58
58
  #define TIMER_T_END(val, index, name) \
59
59
              csound->Message(csound, "[%i] " name "End: %f\n", \
60
 
                              index, csound->GetRealTime(& val ## _timer));
 
60
                              index, csound->GetRealTime(& val ## _timer))
61
61
#else
62
62
  #define TIMER_INIT(val, name)
63
63
  #define TIMER_START(val, name)
168
168
int csp_set_print(CSOUND *csound, struct set_t *set);
169
169
 
170
170
/* get a count and access members */
171
 
int inline csp_set_count(CSOUND *csound, struct set_t *set);
172
 
int inline csp_set_get_num(CSOUND *csound, struct set_t *set, int num, void **data);
 
171
extern int inline csp_set_count(CSOUND *csound, struct set_t *set);
 
172
extern int inline csp_set_get_num(CSOUND *csound, struct set_t *set, int num, void **data);
173
173
 
174
174
/* 
175
175
 * set union and intersection