rubyfb 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
data/ext/ResultSet.h CHANGED
@@ -3,20 +3,20 @@
3
3
  *----------------------------------------------------------------------------*/
4
4
  /**
5
5
  * Copyright � Peter Wood, 2005
6
- *
6
+ *
7
7
  * The contents of this file are subject to the Mozilla Public License Version
8
8
  * 1.1 (the "License"); you may not use this file except in compliance with the
9
- * License. You may obtain a copy of the License at
9
+ * License. You may obtain a copy of the License at
10
10
  *
11
11
  * http://www.mozilla.org/MPL/
12
- *
12
+ *
13
13
  * Software distributed under the License is distributed on an "AS IS" basis,
14
14
  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
15
15
  * the specificlanguage governing rights and limitations under the License.
16
- *
16
+ *
17
17
  * The Original Code is the FireRuby extension for the Ruby language.
18
- *
19
- * The Initial Developer of the Original Code is Peter Wood. All Rights
18
+ *
19
+ * The Initial Developer of the Original Code is Peter Wood. All Rights
20
20
  * Reserved.
21
21
  *
22
22
  * @author Peter Wood
@@ -25,35 +25,34 @@
25
25
  #ifndef FIRERUBY_RESULT_SET_H
26
26
  #define FIRERUBY_RESULT_SET_H
27
27
 
28
- /* Includes. */
28
+ /* Includes. */
29
29
  #ifndef IBASE_H_INCLUDED
30
30
  #include "ibase.h"
31
31
  #define IBASE_H_INCLUDED
32
32
  #endif
33
-
33
+
34
34
  #ifndef RUBY_H_INCLUDED
35
35
  #include "ruby.h"
36
36
  #define RUBY_H_INCLUDED
37
37
  #endif
38
-
39
- /* Type definitions. */
40
- typedef struct
41
- {
42
- isc_stmt_handle handle;
43
- XSQLDA *output;
44
- int exhausted;
45
- long fetched;
46
- short dialect;
47
- short procedure_output_fetch_state;
48
- VALUE transaction;
49
- /*char sql[1000];*/
50
- } ResultsHandle;
51
-
52
- /* Function prototypes. */
53
- VALUE rb_result_set_new(VALUE, VALUE, VALUE, VALUE, VALUE);
54
- void rb_assign_transaction(VALUE, VALUE);
55
- void resultSetFree(void *);
56
- void Init_ResultSet(VALUE);
38
+
39
+ /* Type definitions. */
40
+ typedef struct {
41
+ isc_stmt_handle handle;
42
+ XSQLDA *output;
43
+ int exhausted;
44
+ long fetched;
45
+ short dialect;
46
+ short procedure_output_fetch_state;
47
+ VALUE transaction;
48
+ /*char sql[1000];*/
49
+ } ResultsHandle;
50
+
51
+ /* Function prototypes. */
52
+ VALUE rb_result_set_new(VALUE, VALUE, VALUE, VALUE, VALUE);
53
+ void rb_assign_transaction(VALUE, VALUE);
54
+ void resultSetFree(void *);
55
+ void Init_ResultSet(VALUE);
57
56
 
58
57
  #endif /* FIRERUBY_RESULT_SET_H */
59
58