~ubuntu-branches/ubuntu/quantal/mesa/quantal

« back to all changes in this revision

Viewing changes to src/mesa/shader/slang/slang_utility.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-02-21 12:44:07 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: james.westby@ubuntu.com-20070221124407-rgcacs32mycrtadl
ImportĀ upstreamĀ versionĀ 6.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Mesa 3-D graphics library
3
 
 * Version:  6.5
 
3
 * Version:  6.6
4
4
 *
5
5
 * Copyright (C) 2005-2006  Brian Paul   All Rights Reserved.
6
6
 *
44
44
 
45
45
char *slang_string_concat (char *, const char *);
46
46
 
 
47
/* slang_string */
 
48
 
 
49
typedef struct
 
50
{
 
51
   char *data;
 
52
   GLuint length;
 
53
   GLuint capacity;
 
54
   GLboolean fail;
 
55
} slang_string;
 
56
 
 
57
GLvoid
 
58
slang_string_init (slang_string *);
 
59
 
 
60
GLvoid
 
61
slang_string_free (slang_string *);
 
62
 
 
63
GLvoid
 
64
slang_string_reset (slang_string *);
 
65
 
 
66
GLvoid
 
67
slang_string_push (slang_string *, const slang_string *);
 
68
 
 
69
GLvoid
 
70
slang_string_pushc (slang_string *, const char);
 
71
 
 
72
GLvoid
 
73
slang_string_pushs (slang_string *, const char *, GLuint);
 
74
 
 
75
GLvoid
 
76
slang_string_pushi (slang_string *, GLint);
 
77
 
 
78
const char *
 
79
slang_string_cstr (slang_string *);
 
80
 
 
81
/* slang_atom */
 
82
 
47
83
typedef GLvoid *slang_atom;
48
84
 
49
85
#define SLANG_ATOM_NULL ((slang_atom) 0)