ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

slang_compile_struct.h
Go to the documentation of this file.
00001 /*
00002  * Mesa 3-D graphics library
00003  * Version:  6.5
00004  *
00005  * Copyright (C) 2005-2006  Brian Paul   All Rights Reserved.
00006  *
00007  * Permission is hereby granted, free of charge, to any person obtaining a
00008  * copy of this software and associated documentation files (the "Software"),
00009  * to deal in the Software without restriction, including without limitation
00010  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
00011  * and/or sell copies of the Software, and to permit persons to whom the
00012  * Software is furnished to do so, subject to the following conditions:
00013  *
00014  * The above copyright notice and this permission notice shall be included
00015  * in all copies or substantial portions of the Software.
00016  *
00017  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00018  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00019  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
00020  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00021  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00022  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00023  */
00024 
00025 #if !defined SLANG_COMPILE_STRUCT_H
00026 #define SLANG_COMPILE_STRUCT_H
00027 
00028 #if defined __cplusplus
00029 extern "C" {
00030 #endif
00031 
00032 struct slang_function_;
00033 
00034 typedef struct slang_struct_scope_
00035 {
00036    struct slang_struct_ *structs;
00037    GLuint num_structs;
00038    struct slang_struct_scope_ *outer_scope;
00039 } slang_struct_scope;
00040 
00041 extern GLvoid
00042 _slang_struct_scope_ctr (slang_struct_scope *);
00043 
00044 void slang_struct_scope_destruct (slang_struct_scope *);
00045 int slang_struct_scope_copy (slang_struct_scope *, const slang_struct_scope *);
00046 struct slang_struct_ *slang_struct_scope_find (slang_struct_scope *, slang_atom, int);
00047 
00048 typedef struct slang_struct_
00049 {
00050    slang_atom a_name;
00051    struct slang_variable_scope_ *fields;
00052    slang_struct_scope *structs;
00053    struct slang_function_ *constructor;
00054 } slang_struct;
00055 
00056 int slang_struct_construct (slang_struct *);
00057 void slang_struct_destruct (slang_struct *);
00058 int slang_struct_copy (slang_struct *, const slang_struct *);
00059 int slang_struct_equal (const slang_struct *, const slang_struct *);
00060 
00061 #ifdef __cplusplus
00062 }
00063 #endif
00064 
00065 #endif
00066 

Generated on Sat May 26 2012 04:19:25 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.