Sha256: dcd014c82cce3ebf773bccfcaa2932fa41cd3baa85303f07ddb6260da5f75352

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

/*------------------------------------------------------------------------------
 * Row.h
 *----------------------------------------------------------------------------*/
/**
 * Copyright © Peter Wood, 2005
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with the
 * License. You may obtain a copy of the License at
 *
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specificlanguage governing rights and  limitations under the License.
 *
 * The Original Code is the FireRuby extension for the Ruby language.
 *
 * The Initial Developer of the Original Code is Peter Wood. All Rights
 * Reserved.
 *
 * @author  Peter Wood
 * @version 1.0
 */
#ifndef FIRERUBY_ROW_H
#define FIRERUBY_ROW_H

/* Includes. */
   #ifndef RUBY_H_INCLUDED
      #include "ruby.h"
      #define RUBY_H_INCLUDED
   #endif

/* Type definitions. */
typedef struct {
  char name[32],
       alias[32];
  VALUE value,
        type,
        scale;
} ColumnHandle;

typedef struct {
  unsigned int size,
               number;
  ColumnHandle *columns;
} RowHandle;

/* Function prototypes. */
void Init_Row(VALUE);
VALUE rb_row_new(VALUE, VALUE, VALUE);

#endif // FIRERUBY_ROW_H

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyfb-0.6.3 ext/Row.h