1 /*
2     oload.h:
3 
4     Copyright (C) 1991 Barry Vercoe, John ffitch
5 
6     This file is part of Csound.
7 
8     The Csound Library is free software; you can redistribute it
9     and/or modify it under the terms of the GNU Lesser General Public
10     License as published by the Free Software Foundation; either
11     version 2.1 of the License, or (at your option) any later version.
12 
13     Csound is distributed in the hope that it will be useful,
14     but WITHOUT ANY WARRANTY; without even the implied warranty of
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16     GNU Lesser General Public License for more details.
17 
18     You should have received a copy of the GNU Lesser General Public
19     License along with Csound; if not, write to the Free Software
20     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21     02110-1301 USA
22 */
23 
24 #ifndef CSOUND_OLOAD_H
25 #define CSOUND_OLOAD_H
26 
27 #define NCONSTS 256    /* gbl */                /*      OLOAD.H         */
28 //#define NLABELS 5      /* lcl */
29 //#define NGOTOS  40
30 
31 #define LABELOFS    (-0x40000000)
32 #define LABELIM     (-0x38000000)
33 #define STR_OFS      (0x78000000)       /* string constant index base */
34 
35 typedef struct {
36         char    *lbltxt;
37         int     *ndxp;
38 } LBLARG;
39 
40 typedef struct {
41         int     lblno;
42         MYFLT   **argpp;
43 } LARGNO;
44 
45 typedef struct {
46         MYFLT   *sets[PMAX];
47 } PVSET;
48 
49 typedef struct {
50         OPDS    h;
51         MYFLT   *insno, *itime;
52 } TURNON;
53 
54 #endif  /* CSOUND_OLOAD_H */
55 
56