author | rubidium |
Tue, 17 Jun 2008 11:46:09 +0000 | |
branch | noai |
changeset 10992 | 4dd4f4327c3a |
permissions | -rw-r--r-- |
10992
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
1 |
/* $Id$ */ |
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
2 |
|
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
3 |
/** @file squirrel_helper_type.hpp Helper structs for converting Squirrel data structures to C++. */ |
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
4 |
|
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
5 |
#ifndef SQUIRREL_HELPER_TYPE_HPP |
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
6 |
#define SQUIRREL_HELPER_TYPE_HPP |
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
7 |
|
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
8 |
struct Array { |
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
9 |
int32 size; |
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
10 |
int32 array[VARARRAY_SIZE]; |
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
11 |
}; |
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
12 |
|
4dd4f4327c3a
(svn r13546) [NoAI] -Codechange: add support to pass arrays with integers to C++ functions.
rubidium
parents:
diff
changeset
|
13 |
#endif /* SQUIRREL_HELPER_TYPE_HPP */ |