/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
- * Version 1.3.40
+ * Version 2.0.9
*
* This file is not intended to be easily readable and contains a number of
* coding conventions designed to improve portability and efficiency. Do not make
/*
Flags/methods for returning states.
- The SWIG conversion methods, as ConvertPtr, return and integer
+ The SWIG conversion methods, as ConvertPtr, return an integer
that tells if the conversion was successful or not. And if not,
an error code can be returned (see swigerrors.swg for the codes).
#include <ruby.h>
+/* Ruby 1.9.1 has a "memoisation optimisation" when compiling with GCC which
+ * breaks using rb_intern as an lvalue, as SWIG does. We work around this
+ * issue for now by disabling this.
+ * https://sourceforge.net/tracker/?func=detail&aid=2859614&group_id=1645&atid=101645
+ */
+#ifdef rb_intern
+# undef rb_intern
+#endif
+
/* Remove global macros defined in Ruby's win32.h */
#ifdef write
# undef write
/* Define custom exceptions for errors that do not map to existing Ruby
exceptions. Note this only works for C++ since a global cannot be
- initialized by a funtion in C. For C, fallback to rb_eRuntimeError.*/
+ initialized by a function in C. For C, fallback to rb_eRuntimeError.*/
SWIGINTERN VALUE
getNullReferenceError(void) {
}
/* -----------------------------------------------------------------------------
- * See the LICENSE file for information on copyright, usage and redistribution
- * of SWIG, and the README file for authors - http://www.swig.org/release.html.
- *
* rubytracking.swg
*
* This file contains support for tracking mappings from
/* -----------------------------------------------------------------------------
- * See the LICENSE file for information on copyright, usage and redistribution
- * of SWIG, and the README file for authors - http://www.swig.org/release.html.
- *
* rubyrun.swg
*
* This file contains the runtime support for Ruby modules
/* Runtime API */
-#define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
+#define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata)
#define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
/* Error manipulation */
#define SWIG_ErrorType(code) SWIG_Ruby_ErrorType(code)
-#define SWIG_Error(code, msg) rb_raise(SWIG_Ruby_ErrorType(code), msg)
+#define SWIG_Error(code, msg) rb_raise(SWIG_Ruby_ErrorType(code), "%s", msg)
#define SWIG_fail goto fail
++swig_virtual_calls;
# define SWIG_RELEASE_STACK --swig_virtual_calls;
# define Ruby_DirectorTypeMismatchException(x) \
- rb_raise( rb_eTypeError, x ); return c_result;
+ rb_raise( rb_eTypeError, "%s", x ); return c_result;
static unsigned int swig_virtual_calls = 0;
downcast methods. */
if (obj != Qnil) {
VALUE value = rb_iv_get(obj, "@__swigtype__");
- char* type_name = RSTRING_PTR(value);
+ const char* type_name = RSTRING_PTR(value);
if (strcmp(type->name, type_name) == 0) {
return obj;
}
SWIGRUNTIME swig_module_info *
-SWIG_Ruby_GetModule(void)
+SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
{
VALUE pointer;
swig_module_info *ret = 0;
#define SWIG_RUBY_THREAD_END_BLOCK
-#define SWIGVERSION 0x010340
+#define SWIGVERSION 0x020009
#define SWIG_VERSION SWIGVERSION
SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
{
if (TYPE(obj) == T_STRING) {
- #if defined(StringValuePtr)
char *cstr = StringValuePtr(obj);
- #else
- char *cstr = STR2CSTR(obj);
- #endif
size_t size = RSTRING_LEN(obj) + 1;
if (cptr) {
if (alloc) {
}
-/*@SWIG:/usr/share/swig/1.3.40/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
+/*@SWIG:/sw/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE *args)
{
VALUE obj = args[0];
}
-/*@SWIG:/usr/share/swig/1.3.40/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
+/*@SWIG:/sw/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
{
VALUE obj = args[0];
}
-/*@SWIG:/usr/share/swig/1.3.40/ruby/rubyprimtypes.swg,23,%ruby_aux_method@*/
+/*@SWIG:/sw/share/swig/2.0.9/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
SWIGINTERN VALUE SWIG_AUX_NUM2ULONG(VALUE *args)
{
VALUE obj = args[0];
return SWIG_From_unsigned_SS_long (value);
}
-
typedef struct {
-
-
-
-
-
- short detail;
- unsigned char category;
- unsigned char level;
-
- } MRC_Status_t_status;
+ short detail;
+ unsigned char category;
+ unsigned char level;
+
+} MRC_Status_t_status;
return SWIG_FromCharPtrAndSize(&c,1);
}
-swig_class SwigClassEulerAngleInfo;
+static swig_class SwigClassEulerAngleInfo;
SWIGINTERN VALUE
_wrap_EulerAngleInfo_EAMode_set(int argc, VALUE *argv, VALUE self) {
- EulerAngleInfo *arg1 = (EulerAngleInfo *) 0 ;
+ struct EulerAngleInfo *arg1 = (struct EulerAngleInfo *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_EulerAngleInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EulerAngleInfo *","EAMode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct EulerAngleInfo *","EAMode", 1, self ));
}
- arg1 = (EulerAngleInfo *)(argp1);
+ arg1 = (struct EulerAngleInfo *)(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 5);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [5]","EAMode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_EulerAngleInfo_EAMode_get(int argc, VALUE *argv, VALUE self) {
- EulerAngleInfo *arg1 = (EulerAngleInfo *) 0 ;
+ struct EulerAngleInfo *arg1 = (struct EulerAngleInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_EulerAngleInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EulerAngleInfo *","EAMode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct EulerAngleInfo *","EAMode", 1, self ));
}
- arg1 = (EulerAngleInfo *)(argp1);
+ arg1 = (struct EulerAngleInfo *)(argp1);
result = (char *)(char *) ((arg1)->EAMode);
{
size_t size = 5;
SWIGINTERN VALUE
_wrap_EulerAngleInfo_Rot1_set(int argc, VALUE *argv, VALUE self) {
- EulerAngleInfo *arg1 = (EulerAngleInfo *) 0 ;
+ struct EulerAngleInfo *arg1 = (struct EulerAngleInfo *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_EulerAngleInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EulerAngleInfo *","Rot1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct EulerAngleInfo *","Rot1", 1, self ));
}
- arg1 = (EulerAngleInfo *)(argp1);
+ arg1 = (struct EulerAngleInfo *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","Rot1", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_EulerAngleInfo_Rot1_get(int argc, VALUE *argv, VALUE self) {
- EulerAngleInfo *arg1 = (EulerAngleInfo *) 0 ;
+ struct EulerAngleInfo *arg1 = (struct EulerAngleInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_EulerAngleInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EulerAngleInfo *","Rot1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct EulerAngleInfo *","Rot1", 1, self ));
}
- arg1 = (EulerAngleInfo *)(argp1);
+ arg1 = (struct EulerAngleInfo *)(argp1);
result = (double) ((arg1)->Rot1);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_EulerAngleInfo_Rot2_set(int argc, VALUE *argv, VALUE self) {
- EulerAngleInfo *arg1 = (EulerAngleInfo *) 0 ;
+ struct EulerAngleInfo *arg1 = (struct EulerAngleInfo *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_EulerAngleInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EulerAngleInfo *","Rot2", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct EulerAngleInfo *","Rot2", 1, self ));
}
- arg1 = (EulerAngleInfo *)(argp1);
+ arg1 = (struct EulerAngleInfo *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","Rot2", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_EulerAngleInfo_Rot2_get(int argc, VALUE *argv, VALUE self) {
- EulerAngleInfo *arg1 = (EulerAngleInfo *) 0 ;
+ struct EulerAngleInfo *arg1 = (struct EulerAngleInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_EulerAngleInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EulerAngleInfo *","Rot2", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct EulerAngleInfo *","Rot2", 1, self ));
}
- arg1 = (EulerAngleInfo *)(argp1);
+ arg1 = (struct EulerAngleInfo *)(argp1);
result = (double) ((arg1)->Rot2);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_EulerAngleInfo_Rot3_set(int argc, VALUE *argv, VALUE self) {
- EulerAngleInfo *arg1 = (EulerAngleInfo *) 0 ;
+ struct EulerAngleInfo *arg1 = (struct EulerAngleInfo *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_EulerAngleInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EulerAngleInfo *","Rot3", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct EulerAngleInfo *","Rot3", 1, self ));
}
- arg1 = (EulerAngleInfo *)(argp1);
+ arg1 = (struct EulerAngleInfo *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","Rot3", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_EulerAngleInfo_Rot3_get(int argc, VALUE *argv, VALUE self) {
- EulerAngleInfo *arg1 = (EulerAngleInfo *) 0 ;
+ struct EulerAngleInfo *arg1 = (struct EulerAngleInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_EulerAngleInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "EulerAngleInfo *","Rot3", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct EulerAngleInfo *","Rot3", 1, self ));
}
- arg1 = (EulerAngleInfo *)(argp1);
+ arg1 = (struct EulerAngleInfo *)(argp1);
result = (double) ((arg1)->Rot3);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_EulerAngleInfo(int argc, VALUE *argv, VALUE self) {
- EulerAngleInfo *result = 0 ;
+ struct EulerAngleInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (EulerAngleInfo *)calloc(1, sizeof(EulerAngleInfo));
+ result = (struct EulerAngleInfo *)calloc(1, sizeof(struct EulerAngleInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_EulerAngleInfo(EulerAngleInfo *arg1) {
+free_EulerAngleInfo(struct EulerAngleInfo *arg1) {
free((char *) arg1);
}
}
-swig_class SwigClassQuat;
+static swig_class SwigClassQuat;
SWIGINTERN VALUE
_wrap_Quat_x_set(int argc, VALUE *argv, VALUE self) {
}
-swig_class SwigClassMRC_Status_t;
+static swig_class SwigClassMRC_Status_t;
SWIGINTERN VALUE
_wrap_MRC_Status_t_all_set(int argc, VALUE *argv, VALUE self) {
- MRC_Status_t *arg1 = (MRC_Status_t *) 0 ;
+ union MRC_Status_t *arg1 = (union MRC_Status_t *) 0 ;
mrcStatusType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MRC_Status_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MRC_Status_t *","all", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union MRC_Status_t *","all", 1, self ));
}
- arg1 = (MRC_Status_t *)(argp1);
+ arg1 = (union MRC_Status_t *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcStatusType","all", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_MRC_Status_t_all_get(int argc, VALUE *argv, VALUE self) {
- MRC_Status_t *arg1 = (MRC_Status_t *) 0 ;
+ union MRC_Status_t *arg1 = (union MRC_Status_t *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcStatusType result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MRC_Status_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MRC_Status_t *","all", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union MRC_Status_t *","all", 1, self ));
}
- arg1 = (MRC_Status_t *)(argp1);
+ arg1 = (union MRC_Status_t *)(argp1);
result = (mrcStatusType) ((arg1)->all);
vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_MRC_Status_t_status_get(int argc, VALUE *argv, VALUE self) {
- MRC_Status_t *arg1 = (MRC_Status_t *) 0 ;
+ union MRC_Status_t *arg1 = (union MRC_Status_t *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
MRC_Status_t_status *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MRC_Status_t, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "MRC_Status_t *","status", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union MRC_Status_t *","status", 1, self ));
}
- arg1 = (MRC_Status_t *)(argp1);
+ arg1 = (union MRC_Status_t *)(argp1);
result = (MRC_Status_t_status *)& ((arg1)->status);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MRC_Status_t_status, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_MRC_Status_t(int argc, VALUE *argv, VALUE self) {
- MRC_Status_t *result = 0 ;
+ union MRC_Status_t *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (MRC_Status_t *)calloc(1, sizeof(MRC_Status_t));
+ result = (union MRC_Status_t *)calloc(1, sizeof(union MRC_Status_t));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_MRC_Status_t(MRC_Status_t *arg1) {
+free_MRC_Status_t(union MRC_Status_t *arg1) {
free((char *) arg1);
}
-swig_class SwigClassMRC_Status_t_status;
+static swig_class SwigClassMRC_Status_t_status;
SWIGINTERN VALUE
_wrap_MRC_Status_t_status_detail_set(int argc, VALUE *argv, VALUE self) {
free((char *) arg1);
}
-swig_class SwigClassMrcImageParaTypeIntegerCoord;
+static swig_class SwigClassMrcImageParaTypeIntegerCoord;
SWIGINTERN VALUE
_wrap_mrcImageParaTypeIntegerCoord_x_set(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
+ struct mrcImageParaTypeIntegerCoord *arg1 = (struct mrcImageParaTypeIntegerCoord *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","x", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageParaTypeIntegerCoord *","x", 1, self ));
}
- arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
+ arg1 = (struct mrcImageParaTypeIntegerCoord *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","x", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageParaTypeIntegerCoord_x_get(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
+ struct mrcImageParaTypeIntegerCoord *arg1 = (struct mrcImageParaTypeIntegerCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","x", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageParaTypeIntegerCoord *","x", 1, self ));
}
- arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
+ arg1 = (struct mrcImageParaTypeIntegerCoord *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->x);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageParaTypeIntegerCoord_y_set(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
+ struct mrcImageParaTypeIntegerCoord *arg1 = (struct mrcImageParaTypeIntegerCoord *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","y", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageParaTypeIntegerCoord *","y", 1, self ));
}
- arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
+ arg1 = (struct mrcImageParaTypeIntegerCoord *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","y", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageParaTypeIntegerCoord_y_get(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
+ struct mrcImageParaTypeIntegerCoord *arg1 = (struct mrcImageParaTypeIntegerCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","y", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageParaTypeIntegerCoord *","y", 1, self ));
}
- arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
+ arg1 = (struct mrcImageParaTypeIntegerCoord *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->y);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageParaTypeIntegerCoord_z_set(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
+ struct mrcImageParaTypeIntegerCoord *arg1 = (struct mrcImageParaTypeIntegerCoord *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","z", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageParaTypeIntegerCoord *","z", 1, self ));
}
- arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
+ arg1 = (struct mrcImageParaTypeIntegerCoord *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","z", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageParaTypeIntegerCoord_z_get(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeIntegerCoord *arg1 = (mrcImageParaTypeIntegerCoord *) 0 ;
+ struct mrcImageParaTypeIntegerCoord *arg1 = (struct mrcImageParaTypeIntegerCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","z", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageParaTypeIntegerCoord *","z", 1, self ));
}
- arg1 = (mrcImageParaTypeIntegerCoord *)(argp1);
+ arg1 = (struct mrcImageParaTypeIntegerCoord *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->z);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_mrcImageParaTypeIntegerCoord(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeIntegerCoord *result = 0 ;
+ struct mrcImageParaTypeIntegerCoord *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (mrcImageParaTypeIntegerCoord *)calloc(1, sizeof(mrcImageParaTypeIntegerCoord));
+ result = (struct mrcImageParaTypeIntegerCoord *)calloc(1, sizeof(struct mrcImageParaTypeIntegerCoord));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_mrcImageParaTypeIntegerCoord(mrcImageParaTypeIntegerCoord *arg1) {
+free_mrcImageParaTypeIntegerCoord(struct mrcImageParaTypeIntegerCoord *arg1) {
free((char *) arg1);
}
-swig_class SwigClassMrcImageParaTypeRealCoord;
+static swig_class SwigClassMrcImageParaTypeRealCoord;
SWIGINTERN VALUE
_wrap_mrcImageParaTypeRealCoord_x_set(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
+ struct mrcImageParaTypeRealCoord *arg1 = (struct mrcImageParaTypeRealCoord *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","x", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageParaTypeRealCoord *","x", 1, self ));
}
- arg1 = (mrcImageParaTypeRealCoord *)(argp1);
+ arg1 = (struct mrcImageParaTypeRealCoord *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","x", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageParaTypeRealCoord_x_get(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
+ struct mrcImageParaTypeRealCoord *arg1 = (struct mrcImageParaTypeRealCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","x", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageParaTypeRealCoord *","x", 1, self ));
}
- arg1 = (mrcImageParaTypeRealCoord *)(argp1);
+ arg1 = (struct mrcImageParaTypeRealCoord *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->x);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageParaTypeRealCoord_y_set(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
+ struct mrcImageParaTypeRealCoord *arg1 = (struct mrcImageParaTypeRealCoord *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","y", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageParaTypeRealCoord *","y", 1, self ));
}
- arg1 = (mrcImageParaTypeRealCoord *)(argp1);
+ arg1 = (struct mrcImageParaTypeRealCoord *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","y", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageParaTypeRealCoord_y_get(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
+ struct mrcImageParaTypeRealCoord *arg1 = (struct mrcImageParaTypeRealCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","y", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageParaTypeRealCoord *","y", 1, self ));
}
- arg1 = (mrcImageParaTypeRealCoord *)(argp1);
+ arg1 = (struct mrcImageParaTypeRealCoord *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->y);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageParaTypeRealCoord_z_set(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
+ struct mrcImageParaTypeRealCoord *arg1 = (struct mrcImageParaTypeRealCoord *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","z", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageParaTypeRealCoord *","z", 1, self ));
}
- arg1 = (mrcImageParaTypeRealCoord *)(argp1);
+ arg1 = (struct mrcImageParaTypeRealCoord *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","z", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageParaTypeRealCoord_z_get(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeRealCoord *arg1 = (mrcImageParaTypeRealCoord *) 0 ;
+ struct mrcImageParaTypeRealCoord *arg1 = (struct mrcImageParaTypeRealCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","z", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageParaTypeRealCoord *","z", 1, self ));
}
- arg1 = (mrcImageParaTypeRealCoord *)(argp1);
+ arg1 = (struct mrcImageParaTypeRealCoord *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->z);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_mrcImageParaTypeRealCoord(int argc, VALUE *argv, VALUE self) {
- mrcImageParaTypeRealCoord *result = 0 ;
+ struct mrcImageParaTypeRealCoord *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (mrcImageParaTypeRealCoord *)calloc(1, sizeof(mrcImageParaTypeRealCoord));
+ result = (struct mrcImageParaTypeRealCoord *)calloc(1, sizeof(struct mrcImageParaTypeRealCoord));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_mrcImageParaTypeRealCoord(mrcImageParaTypeRealCoord *arg1) {
+free_mrcImageParaTypeRealCoord(struct mrcImageParaTypeRealCoord *arg1) {
free((char *) arg1);
}
-swig_class SwigClass_mrcImageHeader;
+static swig_class SwigClass_mrcImageHeader;
SWIGINTERN VALUE
_wrap__mrcImageHeader_N_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","N", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","N", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","N", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_N_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeIntegerCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","N", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","N", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->N);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_Mode_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageMode arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","Mode", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageMode","Mode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_Mode_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageMode result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","Mode", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageMode) ((arg1)->Mode);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_StartN_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","StartN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","StartN", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","StartN", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_StartN_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeIntegerCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","StartN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","StartN", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->StartN);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_M_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","M", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","M", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","M", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_M_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeIntegerCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","M", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","M", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->M);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_Length_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Length", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","Length", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","Length", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_Length_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeRealCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Length", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","Length", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeRealCoord *)& ((arg1)->Length);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_Alpha_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Alpha", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","Alpha", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Alpha", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_Alpha_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Alpha", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","Alpha", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->Alpha);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_Beta_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Beta", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","Beta", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Beta", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_Beta_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Beta", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","Beta", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->Beta);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_Gamma_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Gamma", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","Gamma", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Gamma", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_Gamma_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Gamma", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","Gamma", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->Gamma);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_MAPC_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","MAPC", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","MAPC", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPC", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_MAPC_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","MAPC", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","MAPC", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->MAPC);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_MAPR_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","MAPR", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","MAPR", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPR", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_MAPR_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","MAPR", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","MAPR", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->MAPR);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_MAPS_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","MAPS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","MAPS", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPS", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_MAPS_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","MAPS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","MAPS", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->MAPS);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_AMin_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","AMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","AMin", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMin", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_AMin_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","AMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","AMin", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->AMin);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_AMax_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","AMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","AMax", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMax", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_AMax_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","AMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","AMax", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->AMax);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_AMean_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","AMean", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","AMean", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMean", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_AMean_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","AMean", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","AMean", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->AMean);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_ISPG_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","ISPG", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","ISPG", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","ISPG", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_ISPG_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","ISPG", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","ISPG", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->ISPG);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_NSYMBT_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","NSYMBT", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","NSYMBT", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","NSYMBT", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_NSYMBT_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","NSYMBT", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","NSYMBT", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->NSYMBT);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_EXTRA_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeReal *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","EXTRA", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","EXTRA", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [(29)]","EXTRA", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_EXTRA_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","EXTRA", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","EXTRA", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->EXTRA);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_OriginX_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","OriginX", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","OriginX", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","OriginX", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_OriginX_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","OriginX", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","OriginX", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->OriginX);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_OriginY_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","OriginY", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","OriginY", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","OriginY", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_OriginY_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","OriginY", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","OriginY", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->OriginY);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_LabelN_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","LabelN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","LabelN", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","LabelN", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_LabelN_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","LabelN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","LabelN", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->LabelN);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeader_Label_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
char (*arg2)[(80)] ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Label", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","Label", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_a__80___char, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(10)][(80)]","Label", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeader_Label_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *arg1 = (_mrcImageHeader *) 0 ;
+ struct _mrcImageHeader *arg1 = (struct _mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char (*result)[(80)] = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeader *","Label", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeader *","Label", 1, self ));
}
- arg1 = (_mrcImageHeader *)(argp1);
+ arg1 = (struct _mrcImageHeader *)(argp1);
result = (char (*)[(80)])(char (*)[(80)]) ((arg1)->Label);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_a__80___char, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new__mrcImageHeader(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeader *result = 0 ;
+ struct _mrcImageHeader *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (_mrcImageHeader *)calloc(1, sizeof(_mrcImageHeader));
+ result = (struct _mrcImageHeader *)calloc(1, sizeof(struct _mrcImageHeader));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free__mrcImageHeader(_mrcImageHeader *arg1) {
+free__mrcImageHeader(struct _mrcImageHeader *arg1) {
free((char *) arg1);
}
-swig_class SwigClass_mrcImageHeaderCCP4;
+static swig_class SwigClass_mrcImageHeaderCCP4;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_N_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","N", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","N", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","N", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_N_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeIntegerCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","N", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","N", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->N);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_Mode_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageMode arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","Mode", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageMode","Mode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_Mode_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageMode result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","Mode", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageMode) ((arg1)->Mode);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_StartN_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","StartN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","StartN", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","StartN", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_StartN_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeIntegerCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","StartN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","StartN", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->StartN);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_NI_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","NI", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","NI", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","NI", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_NI_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeIntegerCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","NI", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","NI", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->NI);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_Length_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Length", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","Length", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","Length", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_Length_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeRealCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Length", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","Length", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeRealCoord *)& ((arg1)->Length);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_Alpha_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Alpha", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","Alpha", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Alpha", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_Alpha_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Alpha", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","Alpha", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->Alpha);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_Beta_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Beta", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","Beta", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Beta", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_Beta_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Beta", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","Beta", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->Beta);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_Gamma_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Gamma", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","Gamma", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Gamma", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_Gamma_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Gamma", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","Gamma", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->Gamma);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_MAPC_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAPC", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","MAPC", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPC", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_MAPC_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAPC", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","MAPC", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->MAPC);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_MAPR_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAPR", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","MAPR", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPR", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_MAPR_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAPR", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","MAPR", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->MAPR);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_MAPS_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAPS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","MAPS", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPS", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_MAPS_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAPS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","MAPS", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->MAPS);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_AMin_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","AMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","AMin", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMin", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_AMin_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","AMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","AMin", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->AMin);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_AMax_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","AMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","AMax", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMax", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_AMax_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","AMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","AMax", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->AMax);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_AMean_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","AMean", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","AMean", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMean", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_AMean_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","AMean", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","AMean", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->AMean);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_ISPG_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","ISPG", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","ISPG", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","ISPG", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_ISPG_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","ISPG", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","ISPG", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->ISPG);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_NSYMBT_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","NSYMBT", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","NSYMBT", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","NSYMBT", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_NSYMBT_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","NSYMBT", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","NSYMBT", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->NSYMBT);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_LSKFLG_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","LSKFLG", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","LSKFLG", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","LSKFLG", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_LSKFLG_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","LSKFLG", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","LSKFLG", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->LSKFLG);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_SKWMAT_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeReal *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","SKWMAT", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","SKWMAT", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [9]","SKWMAT", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_SKWMAT_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","SKWMAT", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","SKWMAT", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->SKWMAT);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_SKWTRN_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeReal *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","SKWTRN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","SKWTRN", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [3]","SKWTRN", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_SKWTRN_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","SKWTRN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","SKWTRN", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->SKWTRN);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_EXTRA_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeReal *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","EXTRA", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","EXTRA", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [(15)]","EXTRA", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_EXTRA_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","EXTRA", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","EXTRA", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->EXTRA);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_MAP_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeCharacter *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAP", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","MAP", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeCharacter [4]","MAP", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_MAP_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeCharacter *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MAP", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","MAP", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeCharacter *)(mrcImageParaTypeCharacter *) ((arg1)->MAP);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_MARCHST_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MARCHST", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","MARCHST", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MARCHST", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_MARCHST_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","MARCHST", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","MARCHST", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->MARCHST);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_ARMS_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","ARMS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","ARMS", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","ARMS", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_ARMS_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","ARMS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","ARMS", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->ARMS);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_LabelN_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","LabelN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","LabelN", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","LabelN", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_LabelN_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","LabelN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","LabelN", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->LabelN);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_Label_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
char (*arg2)[(80)] ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Label", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","Label", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_a__80___char, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(10)][(80)]","Label", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderCCP4_Label_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *arg1 = (_mrcImageHeaderCCP4 *) 0 ;
+ struct _mrcImageHeaderCCP4 *arg1 = (struct _mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char (*result)[(80)] = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","Label", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderCCP4 *","Label", 1, self ));
}
- arg1 = (_mrcImageHeaderCCP4 *)(argp1);
+ arg1 = (struct _mrcImageHeaderCCP4 *)(argp1);
result = (char (*)[(80)])(char (*)[(80)]) ((arg1)->Label);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_a__80___char, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new__mrcImageHeaderCCP4(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderCCP4 *result = 0 ;
+ struct _mrcImageHeaderCCP4 *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (_mrcImageHeaderCCP4 *)calloc(1, sizeof(_mrcImageHeaderCCP4));
+ result = (struct _mrcImageHeaderCCP4 *)calloc(1, sizeof(struct _mrcImageHeaderCCP4));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free__mrcImageHeaderCCP4(_mrcImageHeaderCCP4 *arg1) {
+free__mrcImageHeaderCCP4(struct _mrcImageHeaderCCP4 *arg1) {
free((char *) arg1);
}
-swig_class SwigClass_mrcImageHeaderIMOD;
+static swig_class SwigClass_mrcImageHeaderIMOD;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_N_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","N", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","N", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","N", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_N_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeIntegerCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","N", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","N", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->N);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_Mode_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageMode arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","Mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","Mode", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageMode","Mode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_Mode_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageMode result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","Mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","Mode", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageMode) ((arg1)->Mode);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_StartN_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","StartN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","StartN", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","StartN", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_StartN_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeIntegerCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","StartN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","StartN", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->StartN);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_M_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeIntegerCoord *arg2 = (mrcImageParaTypeIntegerCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","M", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","M", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeIntegerCoord *","M", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_M_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeIntegerCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","M", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","M", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeIntegerCoord *)& ((arg1)->M);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeIntegerCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_Length_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","Length", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","Length", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","Length", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_Length_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeRealCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","Length", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","Length", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeRealCoord *)& ((arg1)->Length);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_Alpha_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","Alpha", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","Alpha", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Alpha", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_Alpha_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","Alpha", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","Alpha", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->Alpha);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_Beta_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","Beta", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","Beta", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Beta", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_Beta_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","Beta", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","Beta", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->Beta);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_Gamma_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","Gamma", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","Gamma", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Gamma", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_Gamma_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","Gamma", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","Gamma", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->Gamma);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_MAPC_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","MAPC", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","MAPC", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPC", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_MAPC_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","MAPC", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","MAPC", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->MAPC);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_MAPR_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","MAPR", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","MAPR", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPR", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_MAPR_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","MAPR", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","MAPR", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->MAPR);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_MAPS_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","MAPS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","MAPS", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MAPS", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_MAPS_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","MAPS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","MAPS", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->MAPS);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_AMin_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","AMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","AMin", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMin", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_AMin_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","AMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","AMin", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->AMin);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_AMax_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","AMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","AMax", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMax", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_AMax_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","AMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","AMax", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->AMax);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_AMean_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","AMean", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","AMean", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","AMean", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_AMean_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","AMean", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","AMean", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->AMean);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_ISPG_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","ISPG", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","ISPG", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","ISPG", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_ISPG_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","ISPG", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","ISPG", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->ISPG);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_NSYMBT_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","NSYMBT", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","NSYMBT", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","NSYMBT", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_NSYMBT_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","NSYMBT", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","NSYMBT", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->NSYMBT);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_creatid_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
short arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","creatid", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","creatid", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_short(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","creatid", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_creatid_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
short result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","creatid", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","creatid", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (short) ((arg1)->creatid);
vresult = SWIG_From_short((short)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_extra1_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
short *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","extra1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","extra1", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_short, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "short [15]","extra1", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_extra1_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
short *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","extra1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","extra1", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (short *)(short *) ((arg1)->extra1);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_short, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_nint_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
short arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","nint", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","nint", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_short(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","nint", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_nint_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
short result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","nint", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","nint", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (short) ((arg1)->nint);
vresult = SWIG_From_short((short)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_nreal_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
short arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","nreal", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","nreal", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_short(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","nreal", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_nreal_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
short result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","nreal", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","nreal", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (short) ((arg1)->nreal);
vresult = SWIG_From_short((short)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_extra2_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeReal *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","extra2", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","extra2", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [5]","extra2", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_extra2_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","extra2", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","extra2", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->extra2);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_imodStamp_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","imodStamp", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","imodStamp", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","imodStamp", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_imodStamp_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","imodStamp", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","imodStamp", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->imodStamp);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_imodFlags_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","imodFlags", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","imodFlags", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","imodFlags", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_imodFlags_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","imodFlags", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","imodFlags", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->imodFlags);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_idtype_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
short arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","idtype", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","idtype", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_short(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","idtype", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_idtype_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
short result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","idtype", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","idtype", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (short) ((arg1)->idtype);
vresult = SWIG_From_short((short)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_lnes_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
short arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","lnes", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","lnes", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_short(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","lnes", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_lnes_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
short result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","lnes", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","lnes", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (short) ((arg1)->lnes);
vresult = SWIG_From_short((short)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_nd1_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
short arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","nd1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","nd1", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_short(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","nd1", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_nd1_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
short result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","nd1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","nd1", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (short) ((arg1)->nd1);
vresult = SWIG_From_short((short)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_nd2_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
short arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","nd2", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","nd2", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_short(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","nd2", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_nd2_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
short result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","nd2", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","nd2", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (short) ((arg1)->nd2);
vresult = SWIG_From_short((short)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_vd1_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
short arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","vd1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","vd1", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_short(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","vd1", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_vd1_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
short result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","vd1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","vd1", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (short) ((arg1)->vd1);
vresult = SWIG_From_short((short)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_vd2_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
short arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","vd2", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","vd2", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_short(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "short","vd2", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_vd2_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
short result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","vd2", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","vd2", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (short) ((arg1)->vd2);
vresult = SWIG_From_short((short)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_tiltangles_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeReal *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","tiltangles", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","tiltangles", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [6]","tiltangles", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_tiltangles_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","tiltangles", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","tiltangles", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->tiltangles);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_xorg_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","xorg", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","xorg", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","xorg", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_xorg_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","xorg", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","xorg", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->xorg);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_yorg_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","yorg", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","yorg", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","yorg", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_yorg_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","yorg", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","yorg", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->yorg);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_zorg_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","zorg", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","zorg", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","zorg", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_zorg_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","zorg", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","zorg", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->zorg);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_MAP_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeCharacter *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","MAP", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","MAP", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeCharacter [4]","MAP", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_MAP_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeCharacter *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","MAP", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","MAP", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeCharacter *)(mrcImageParaTypeCharacter *) ((arg1)->MAP);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_MARCHST_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","MARCHST", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","MARCHST", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","MARCHST", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_MARCHST_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","MARCHST", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","MARCHST", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->MARCHST);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_ARMS_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","ARMS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","ARMS", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","ARMS", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_ARMS_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","ARMS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","ARMS", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->ARMS);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_LabelN_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","LabelN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","LabelN", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","LabelN", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_LabelN_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","LabelN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","LabelN", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->LabelN);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_Label_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
char (*arg2)[(80)] ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","Label", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","Label", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_a__80___char, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [(10)][(80)]","Label", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageHeaderIMOD_Label_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *arg1 = (_mrcImageHeaderIMOD *) 0 ;
+ struct _mrcImageHeaderIMOD *arg1 = (struct _mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char (*result)[(80)] = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","Label", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageHeaderIMOD *","Label", 1, self ));
}
- arg1 = (_mrcImageHeaderIMOD *)(argp1);
+ arg1 = (struct _mrcImageHeaderIMOD *)(argp1);
result = (char (*)[(80)])(char (*)[(80)]) ((arg1)->Label);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_a__80___char, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new__mrcImageHeaderIMOD(int argc, VALUE *argv, VALUE self) {
- _mrcImageHeaderIMOD *result = 0 ;
+ struct _mrcImageHeaderIMOD *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (_mrcImageHeaderIMOD *)calloc(1, sizeof(_mrcImageHeaderIMOD));
+ result = (struct _mrcImageHeaderIMOD *)calloc(1, sizeof(struct _mrcImageHeaderIMOD));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free__mrcImageHeaderIMOD(_mrcImageHeaderIMOD *arg1) {
+free__mrcImageHeaderIMOD(struct _mrcImageHeaderIMOD *arg1) {
free((char *) arg1);
}
-swig_class SwigClassMrcImageHeader;
+static swig_class SwigClassMrcImageHeader;
SWIGINTERN VALUE
_wrap_mrcImageHeader_All_set(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
+ union mrcImageHeader *arg1 = (union mrcImageHeader *) 0 ;
unsigned char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","All", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageHeader *","All", 1, self ));
}
- arg1 = (mrcImageHeader *)(argp1);
+ arg1 = (union mrcImageHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "unsigned char [(1024)]","All", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageHeader_All_get(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
+ union mrcImageHeader *arg1 = (union mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","All", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageHeader *","All", 1, self ));
}
- arg1 = (mrcImageHeader *)(argp1);
+ arg1 = (union mrcImageHeader *)(argp1);
result = (unsigned char *)(unsigned char *) ((arg1)->All);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageHeader_Int_set(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
+ union mrcImageHeader *arg1 = (union mrcImageHeader *) 0 ;
mrcImageParaTypeInteger *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","Int", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageHeader *","Int", 1, self ));
}
- arg1 = (mrcImageHeader *)(argp1);
+ arg1 = (union mrcImageHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger [(1024)/4]","Int", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageHeader_Int_get(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
+ union mrcImageHeader *arg1 = (union mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","Int", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageHeader *","Int", 1, self ));
}
- arg1 = (mrcImageHeader *)(argp1);
+ arg1 = (union mrcImageHeader *)(argp1);
result = (mrcImageParaTypeInteger *)(mrcImageParaTypeInteger *) ((arg1)->Int);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageHeader_Real_set(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
+ union mrcImageHeader *arg1 = (union mrcImageHeader *) 0 ;
mrcImageParaTypeReal *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","Real", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageHeader *","Real", 1, self ));
}
- arg1 = (mrcImageHeader *)(argp1);
+ arg1 = (union mrcImageHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [(1024)/4]","Real", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageHeader_Real_get(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
+ union mrcImageHeader *arg1 = (union mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","Real", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageHeader *","Real", 1, self ));
}
- arg1 = (mrcImageHeader *)(argp1);
+ arg1 = (union mrcImageHeader *)(argp1);
result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->Real);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageHeader_Cont_set(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
+ union mrcImageHeader *arg1 = (union mrcImageHeader *) 0 ;
_mrcImageHeader *arg2 = (_mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","Cont", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageHeader *","Cont", 1, self ));
}
- arg1 = (mrcImageHeader *)(argp1);
+ arg1 = (union mrcImageHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p__mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_mrcImageHeader *","Cont", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageHeader_Cont_get(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
+ union mrcImageHeader *arg1 = (union mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
_mrcImageHeader *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","Cont", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageHeader *","Cont", 1, self ));
}
- arg1 = (mrcImageHeader *)(argp1);
+ arg1 = (union mrcImageHeader *)(argp1);
result = (_mrcImageHeader *)& ((arg1)->Cont);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__mrcImageHeader, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageHeader_ContCCP4_set(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
+ union mrcImageHeader *arg1 = (union mrcImageHeader *) 0 ;
_mrcImageHeaderCCP4 *arg2 = (_mrcImageHeaderCCP4 *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","ContCCP4", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageHeader *","ContCCP4", 1, self ));
}
- arg1 = (mrcImageHeader *)(argp1);
+ arg1 = (union mrcImageHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_mrcImageHeaderCCP4 *","ContCCP4", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageHeader_ContCCP4_get(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
+ union mrcImageHeader *arg1 = (union mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
_mrcImageHeaderCCP4 *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","ContCCP4", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageHeader *","ContCCP4", 1, self ));
}
- arg1 = (mrcImageHeader *)(argp1);
+ arg1 = (union mrcImageHeader *)(argp1);
result = (_mrcImageHeaderCCP4 *)& ((arg1)->ContCCP4);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__mrcImageHeaderCCP4, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageHeader_ContIMOD_set(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
+ union mrcImageHeader *arg1 = (union mrcImageHeader *) 0 ;
_mrcImageHeaderIMOD *arg2 = (_mrcImageHeaderIMOD *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","ContIMOD", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageHeader *","ContIMOD", 1, self ));
}
- arg1 = (mrcImageHeader *)(argp1);
+ arg1 = (union mrcImageHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_mrcImageHeaderIMOD *","ContIMOD", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageHeader_ContIMOD_get(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *arg1 = (mrcImageHeader *) 0 ;
+ union mrcImageHeader *arg1 = (union mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
_mrcImageHeaderIMOD *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageHeader *","ContIMOD", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageHeader *","ContIMOD", 1, self ));
}
- arg1 = (mrcImageHeader *)(argp1);
+ arg1 = (union mrcImageHeader *)(argp1);
result = (_mrcImageHeaderIMOD *)& ((arg1)->ContIMOD);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__mrcImageHeaderIMOD, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_mrcImageHeader(int argc, VALUE *argv, VALUE self) {
- mrcImageHeader *result = 0 ;
+ union mrcImageHeader *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (mrcImageHeader *)calloc(1, sizeof(mrcImageHeader));
+ result = (union mrcImageHeader *)calloc(1, sizeof(union mrcImageHeader));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_mrcImageHeader(mrcImageHeader *arg1) {
+free_mrcImageHeader(union mrcImageHeader *arg1) {
free((char *) arg1);
}
-swig_class SwigClass_FEIextendedHeader;
+static swig_class SwigClass_FEIextendedHeader;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_aTilt_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","aTilt", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","aTilt", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","aTilt", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_aTilt_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","aTilt", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","aTilt", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->aTilt);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_bTilt_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","bTilt", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","bTilt", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","bTilt", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_bTilt_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","bTilt", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","bTilt", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->bTilt);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_xStage_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","xStage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","xStage", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","xStage", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_xStage_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","xStage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","xStage", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->xStage);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_yStage_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","yStage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","yStage", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","yStage", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_yStage_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","yStage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","yStage", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->yStage);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_zStage_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","zStage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","zStage", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","zStage", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_zStage_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","zStage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","zStage", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->zStage);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_xShift_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","xShift", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","xShift", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","xShift", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_xShift_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","xShift", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","xShift", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->xShift);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_yShift_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","yShift", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","yShift", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","yShift", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_yShift_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","yShift", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","yShift", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->yShift);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_defocus_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","defocus", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","defocus", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","defocus", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_defocus_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","defocus", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","defocus", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->defocus);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_expTime_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","expTime", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","expTime", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","expTime", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_expTime_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","expTime", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","expTime", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->expTime);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_mean_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","mean", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","mean", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","mean", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_mean_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","mean", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","mean", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->mean);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_tiltAxis_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","tiltAxis", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","tiltAxis", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","tiltAxis", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_tiltAxis_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","tiltAxis", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","tiltAxis", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->tiltAxis);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_pixelSize_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","pixelSize", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","pixelSize", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","pixelSize", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_pixelSize_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","pixelSize", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","pixelSize", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->pixelSize);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_magnification_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","magnification", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","magnification", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","magnification", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_magnification_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","magnification", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","magnification", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->magnification);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_ht_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","ht", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","ht", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","ht", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_ht_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","ht", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","ht", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->ht);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_binning_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","binning", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","binning", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","binning", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_binning_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","binning", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","binning", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->binning);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_appliedDefocus_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","appliedDefocus", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","appliedDefocus", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","appliedDefocus", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_appliedDefocus_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","appliedDefocus", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","appliedDefocus", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->appliedDefocus);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__FEIextendedHeader_reminder_set(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
mrcImageParaTypeReal *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","reminder", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","reminder", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [(128)/4-16]","reminder", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__FEIextendedHeader_reminder_get(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *arg1 = (_FEIextendedHeader *) 0 ;
+ struct _FEIextendedHeader *arg1 = (struct _FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_FEIextendedHeader *","reminder", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _FEIextendedHeader *","reminder", 1, self ));
}
- arg1 = (_FEIextendedHeader *)(argp1);
+ arg1 = (struct _FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->reminder);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new__FEIextendedHeader(int argc, VALUE *argv, VALUE self) {
- _FEIextendedHeader *result = 0 ;
+ struct _FEIextendedHeader *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (_FEIextendedHeader *)calloc(1, sizeof(_FEIextendedHeader));
+ result = (struct _FEIextendedHeader *)calloc(1, sizeof(struct _FEIextendedHeader));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free__FEIextendedHeader(_FEIextendedHeader *arg1) {
+free__FEIextendedHeader(struct _FEIextendedHeader *arg1) {
free((char *) arg1);
}
-swig_class SwigClassFEIextendedHeader;
+static swig_class SwigClassFEIextendedHeader;
SWIGINTERN VALUE
_wrap_FEIextendedHeader_Real_set(int argc, VALUE *argv, VALUE self) {
- FEIextendedHeader *arg1 = (FEIextendedHeader *) 0 ;
+ union FEIextendedHeader *arg1 = (union FEIextendedHeader *) 0 ;
mrcImageParaTypeReal *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FEIextendedHeader *","Real", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union FEIextendedHeader *","Real", 1, self ));
}
- arg1 = (FEIextendedHeader *)(argp1);
+ arg1 = (union FEIextendedHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [(128)/4]","Real", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_FEIextendedHeader_Real_get(int argc, VALUE *argv, VALUE self) {
- FEIextendedHeader *arg1 = (FEIextendedHeader *) 0 ;
+ union FEIextendedHeader *arg1 = (union FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FEIextendedHeader *","Real", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union FEIextendedHeader *","Real", 1, self ));
}
- arg1 = (FEIextendedHeader *)(argp1);
+ arg1 = (union FEIextendedHeader *)(argp1);
result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->Real);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_FEIextendedHeader_Cont_set(int argc, VALUE *argv, VALUE self) {
- FEIextendedHeader *arg1 = (FEIextendedHeader *) 0 ;
+ union FEIextendedHeader *arg1 = (union FEIextendedHeader *) 0 ;
_FEIextendedHeader *arg2 = (_FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FEIextendedHeader *","Cont", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union FEIextendedHeader *","Cont", 1, self ));
}
- arg1 = (FEIextendedHeader *)(argp1);
+ arg1 = (union FEIextendedHeader *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_FEIextendedHeader *","Cont", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_FEIextendedHeader_Cont_get(int argc, VALUE *argv, VALUE self) {
- FEIextendedHeader *arg1 = (FEIextendedHeader *) 0 ;
+ union FEIextendedHeader *arg1 = (union FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
_FEIextendedHeader *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FEIextendedHeader, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FEIextendedHeader *","Cont", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union FEIextendedHeader *","Cont", 1, self ));
}
- arg1 = (FEIextendedHeader *)(argp1);
+ arg1 = (union FEIextendedHeader *)(argp1);
result = (_FEIextendedHeader *)& ((arg1)->Cont);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__FEIextendedHeader, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_FEIextendedHeader(int argc, VALUE *argv, VALUE self) {
- FEIextendedHeader *result = 0 ;
+ union FEIextendedHeader *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (FEIextendedHeader *)calloc(1, sizeof(FEIextendedHeader));
+ result = (union FEIextendedHeader *)calloc(1, sizeof(union FEIextendedHeader));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_FEIextendedHeader(FEIextendedHeader *arg1) {
+free_FEIextendedHeader(union FEIextendedHeader *arg1) {
free((char *) arg1);
}
-swig_class SwigClass_mrcImageTailer;
+static swig_class SwigClass_mrcImageTailer;
SWIGINTERN VALUE
_wrap__mrcImageTailer_Code_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Code", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","Code", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 4);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [4]","Code", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageTailer_Code_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Code", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","Code", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
result = (char *)(char *) ((arg1)->Code);
{
size_t size = 4;
SWIGINTERN VALUE
_wrap__mrcImageTailer_Mode_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","Mode", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","Mode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageTailer_Mode_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","Mode", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->Mode);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageTailer_EulerAngleMode_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","EulerAngleMode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","EulerAngleMode", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 4);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [4]","EulerAngleMode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageTailer_EulerAngleMode_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","EulerAngleMode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","EulerAngleMode", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
result = (char *)(char *) ((arg1)->EulerAngleMode);
{
size_t size = 4;
SWIGINTERN VALUE
_wrap__mrcImageTailer_Rot1_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Rot1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","Rot1", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Rot1", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageTailer_Rot1_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Rot1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","Rot1", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->Rot1);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageTailer_Rot2_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Rot2", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","Rot2", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Rot2", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageTailer_Rot2_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Rot2", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","Rot2", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->Rot2);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageTailer_Rot3_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Rot3", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","Rot3", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","Rot3", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageTailer_Rot3_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Rot3", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","Rot3", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->Rot3);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap__mrcImageTailer_Mirror_set(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Mirror", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","Mirror", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","Mirror", 2, argv[0] ));
SWIGINTERN VALUE
_wrap__mrcImageTailer_Mirror_get(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *arg1 = (_mrcImageTailer *) 0 ;
+ struct _mrcImageTailer *arg1 = (struct _mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "_mrcImageTailer *","Mirror", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct _mrcImageTailer *","Mirror", 1, self ));
}
- arg1 = (_mrcImageTailer *)(argp1);
+ arg1 = (struct _mrcImageTailer *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->Mirror);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new__mrcImageTailer(int argc, VALUE *argv, VALUE self) {
- _mrcImageTailer *result = 0 ;
+ struct _mrcImageTailer *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (_mrcImageTailer *)calloc(1, sizeof(_mrcImageTailer));
+ result = (struct _mrcImageTailer *)calloc(1, sizeof(struct _mrcImageTailer));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free__mrcImageTailer(_mrcImageTailer *arg1) {
+free__mrcImageTailer(struct _mrcImageTailer *arg1) {
free((char *) arg1);
}
-swig_class SwigClassMrcImageTailer;
+static swig_class SwigClassMrcImageTailer;
SWIGINTERN VALUE
_wrap_mrcImageTailer_All_set(int argc, VALUE *argv, VALUE self) {
- mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
+ union mrcImageTailer *arg1 = (union mrcImageTailer *) 0 ;
unsigned char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","All", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageTailer *","All", 1, self ));
}
- arg1 = (mrcImageTailer *)(argp1);
+ arg1 = (union mrcImageTailer *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_char, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "unsigned char [(1024)]","All", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageTailer_All_get(int argc, VALUE *argv, VALUE self) {
- mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
+ union mrcImageTailer *arg1 = (union mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","All", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageTailer *","All", 1, self ));
}
- arg1 = (mrcImageTailer *)(argp1);
+ arg1 = (union mrcImageTailer *)(argp1);
result = (unsigned char *)(unsigned char *) ((arg1)->All);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageTailer_Int_set(int argc, VALUE *argv, VALUE self) {
- mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
+ union mrcImageTailer *arg1 = (union mrcImageTailer *) 0 ;
mrcImageParaTypeInteger *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","Int", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageTailer *","Int", 1, self ));
}
- arg1 = (mrcImageTailer *)(argp1);
+ arg1 = (union mrcImageTailer *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_int, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger [(1024)/4]","Int", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageTailer_Int_get(int argc, VALUE *argv, VALUE self) {
- mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
+ union mrcImageTailer *arg1 = (union mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","Int", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageTailer *","Int", 1, self ));
}
- arg1 = (mrcImageTailer *)(argp1);
+ arg1 = (union mrcImageTailer *)(argp1);
result = (mrcImageParaTypeInteger *)(mrcImageParaTypeInteger *) ((arg1)->Int);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageTailer_Real_set(int argc, VALUE *argv, VALUE self) {
- mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
+ union mrcImageTailer *arg1 = (union mrcImageTailer *) 0 ;
mrcImageParaTypeReal *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","Real", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageTailer *","Real", 1, self ));
}
- arg1 = (mrcImageTailer *)(argp1);
+ arg1 = (union mrcImageTailer *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal [(1024)/4]","Real", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageTailer_Real_get(int argc, VALUE *argv, VALUE self) {
- mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
+ union mrcImageTailer *arg1 = (union mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","Real", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageTailer *","Real", 1, self ));
}
- arg1 = (mrcImageTailer *)(argp1);
+ arg1 = (union mrcImageTailer *)(argp1);
result = (mrcImageParaTypeReal *)(mrcImageParaTypeReal *) ((arg1)->Real);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageTailer_Cont_set(int argc, VALUE *argv, VALUE self) {
- mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
+ union mrcImageTailer *arg1 = (union mrcImageTailer *) 0 ;
_mrcImageTailer *arg2 = (_mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","Cont", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageTailer *","Cont", 1, self ));
}
- arg1 = (mrcImageTailer *)(argp1);
+ arg1 = (union mrcImageTailer *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p__mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "_mrcImageTailer *","Cont", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageTailer_Cont_get(int argc, VALUE *argv, VALUE self) {
- mrcImageTailer *arg1 = (mrcImageTailer *) 0 ;
+ union mrcImageTailer *arg1 = (union mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
_mrcImageTailer *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageTailer, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageTailer *","Cont", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "union mrcImageTailer *","Cont", 1, self ));
}
- arg1 = (mrcImageTailer *)(argp1);
+ arg1 = (union mrcImageTailer *)(argp1);
result = (_mrcImageTailer *)& ((arg1)->Cont);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__mrcImageTailer, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_mrcImageTailer(int argc, VALUE *argv, VALUE self) {
- mrcImageTailer *result = 0 ;
+ union mrcImageTailer *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (mrcImageTailer *)calloc(1, sizeof(mrcImageTailer));
+ result = (union mrcImageTailer *)calloc(1, sizeof(union mrcImageTailer));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_mrcImageTailer(mrcImageTailer *arg1) {
+free_mrcImageTailer(union mrcImageTailer *arg1) {
free((char *) arg1);
}
-swig_class SwigClassMrcImage;
+static swig_class SwigClassMrcImage;
SWIGINTERN VALUE
_wrap_mrcImage_Header_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
mrcImageHeader *arg2 = (mrcImageHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","Header", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","Header", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageHeader, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageHeader *","Header", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_Header_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageHeader *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","Header", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","Header", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (mrcImageHeader *)& ((arg1)->Header);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageHeader, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_BytePerImage_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
size_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","BytePerImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","BytePerImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
ecode2 = SWIG_AsVal_size_t(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "size_t","BytePerImage", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_BytePerImage_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
size_t result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","BytePerImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","BytePerImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = ((arg1)->BytePerImage);
vresult = SWIG_From_size_t((size_t)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_BytePerBand_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","BytePerBand", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","BytePerBand", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","BytePerBand", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_BytePerBand_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","BytePerBand", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","BytePerBand", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->BytePerBand);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_BandPerPixel_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","BandPerPixel", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","BandPerPixel", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","BandPerPixel", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_BandPerPixel_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","BandPerPixel", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","BandPerPixel", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->BandPerPixel);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_PixelPerImage_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
size_t arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","PixelPerImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","PixelPerImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
ecode2 = SWIG_AsVal_size_t(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "size_t","PixelPerImage", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_PixelPerImage_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
size_t result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","PixelPerImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","PixelPerImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = ((arg1)->PixelPerImage);
vresult = SWIG_From_size_t((size_t)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_status_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
mrcStatusType arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","status", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","status", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcStatusType","status", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_status_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcStatusType result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","status", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","status", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (mrcStatusType) ((arg1)->status);
vresult = SWIG_From_unsigned_SS_int((unsigned int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_Image_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","Image", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","Image", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","Image", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_Image_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","Image", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","Image", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (char *) ((arg1)->Image);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_ImageCharImage_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
unsigned char *arg2 = (unsigned char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageCharImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","ImageCharImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_char, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "unsigned char *","ImageCharImage", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_ImageCharImage_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageCharImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","ImageCharImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (unsigned char *) ((arg1)->ImageCharImage);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_char, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_ImageShortImage_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
unsigned short *arg2 = (unsigned short *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageShortImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","ImageShortImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_short, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "unsigned short *","ImageShortImage", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_ImageShortImage_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned short *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageShortImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","ImageShortImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (unsigned short *) ((arg1)->ImageShortImage);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_short, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_ImageLongImage_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
unsigned long *arg2 = (unsigned long *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageLongImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","ImageLongImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_unsigned_long, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "unsigned long *","ImageLongImage", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_ImageLongImage_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
unsigned long *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageLongImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","ImageLongImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (unsigned long *) ((arg1)->ImageLongImage);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_ImageFloatImage_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
float *arg2 = (float *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageFloatImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","ImageFloatImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_float, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "float *","ImageFloatImage", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_ImageFloatImage_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageFloatImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","ImageFloatImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (float *) ((arg1)->ImageFloatImage);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_float, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_ImageDoubleImage_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
double *arg2 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageDoubleImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","ImageDoubleImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","ImageDoubleImage", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_ImageDoubleImage_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageDoubleImage", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","ImageDoubleImage", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (double *) ((arg1)->ImageDoubleImage);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_Tailer_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
mrcImageTailer *arg2 = (mrcImageTailer *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","Tailer", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","Tailer", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageTailer, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageTailer *","Tailer", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_Tailer_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageTailer *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","Tailer", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","Tailer", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (mrcImageTailer *) ((arg1)->Tailer);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageTailer, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_numTailer_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","numTailer", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","numTailer", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","numTailer", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_numTailer_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","numTailer", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","numTailer", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->numTailer);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_FEIHeader_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
FEIextendedHeader *arg2 = (FEIextendedHeader *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","FEIHeader", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","FEIHeader", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FEIextendedHeader, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FEIextendedHeader *","FEIHeader", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_FEIHeader_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FEIextendedHeader *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","FEIHeader", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","FEIHeader", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (FEIextendedHeader *) ((arg1)->FEIHeader);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FEIextendedHeader, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_numFEIHeader_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","numFEIHeader", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","numFEIHeader", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","numFEIHeader", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_numFEIHeader_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","numFEIHeader", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","numFEIHeader", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->numFEIHeader);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_dummyHeader_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","dummyHeader", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","dummyHeader", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","dummyHeader", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_dummyHeader_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","dummyHeader", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","dummyHeader", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (char *) ((arg1)->dummyHeader);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_dummyHeaderByte_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","dummyHeaderByte", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","dummyHeaderByte", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","dummyHeaderByte", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_dummyHeaderByte_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","dummyHeaderByte", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","dummyHeaderByte", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->dummyHeaderByte);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_flagByteSwap_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","flagByteSwap", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","flagByteSwap", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","flagByteSwap", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_flagByteSwap_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","flagByteSwap", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","flagByteSwap", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->flagByteSwap);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_flagCCP4_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","flagCCP4", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","flagCCP4", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","flagCCP4", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_flagCCP4_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","flagCCP4", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","flagCCP4", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->flagCCP4);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_ImageOffset_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
mrcImageParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageOffset", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","ImageOffset", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeInteger","ImageOffset", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_ImageOffset_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","ImageOffset", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","ImageOffset", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (mrcImageParaTypeInteger) ((arg1)->ImageOffset);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImage_SymmetryOperator_set(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
mrcImageSymmetryOperator *arg2 = (mrcImageSymmetryOperator *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","SymmetryOperator", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","SymmetryOperator", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageSymmetryOperator *","SymmetryOperator", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImage_SymmetryOperator_get(int argc, VALUE *argv, VALUE self) {
- mrcImage *arg1 = (mrcImage *) 0 ;
+ struct mrcImage *arg1 = (struct mrcImage *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageSymmetryOperator *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImage, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImage *","SymmetryOperator", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImage *","SymmetryOperator", 1, self ));
}
- arg1 = (mrcImage *)(argp1);
+ arg1 = (struct mrcImage *)(argp1);
result = (mrcImageSymmetryOperator *) ((arg1)->SymmetryOperator);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_new_mrcImage(int argc, VALUE *argv, VALUE self) {
- mrcImage *result = 0 ;
+ struct mrcImage *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (mrcImage *)calloc(1, sizeof(mrcImage));
+ result = (struct mrcImage *)calloc(1, sizeof(struct mrcImage));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_mrcImage(mrcImage *arg1) {
+free_mrcImage(struct mrcImage *arg1) {
free((char *) arg1);
}
-swig_class SwigClassMrcImageInformation;
+static swig_class SwigClassMrcImageInformation;
SWIGINTERN VALUE
_wrap_mrcImageInformation_mean_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","mean", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","mean", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","mean", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_mean_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","mean", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","mean", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->mean);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_rootMeanSquare_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","rootMeanSquare", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","rootMeanSquare", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","rootMeanSquare", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_rootMeanSquare_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","rootMeanSquare", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","rootMeanSquare", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->rootMeanSquare);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_meanOfSphereSurface_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","meanOfSphereSurface", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","meanOfSphereSurface", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","meanOfSphereSurface", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_meanOfSphereSurface_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","meanOfSphereSurface", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","meanOfSphereSurface", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->meanOfSphereSurface);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_sdOfSphereSurface_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sdOfSphereSurface", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","sdOfSphereSurface", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","sdOfSphereSurface", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_sdOfSphereSurface_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sdOfSphereSurface", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","sdOfSphereSurface", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->sdOfSphereSurface);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_seOfSphereSurface_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","seOfSphereSurface", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","seOfSphereSurface", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","seOfSphereSurface", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_seOfSphereSurface_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","seOfSphereSurface", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","seOfSphereSurface", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->seOfSphereSurface);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_meanOfCylinderSurface_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","meanOfCylinderSurface", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","meanOfCylinderSurface", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","meanOfCylinderSurface", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_meanOfCylinderSurface_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","meanOfCylinderSurface", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","meanOfCylinderSurface", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->meanOfCylinderSurface);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_sdOfCylinderSurface_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sdOfCylinderSurface", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","sdOfCylinderSurface", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","sdOfCylinderSurface", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_sdOfCylinderSurface_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sdOfCylinderSurface", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","sdOfCylinderSurface", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->sdOfCylinderSurface);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_seOfCylinderSurface_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","seOfCylinderSurface", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","seOfCylinderSurface", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","seOfCylinderSurface", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_seOfCylinderSurface_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","seOfCylinderSurface", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","seOfCylinderSurface", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->seOfCylinderSurface);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_meanOfEdge_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","meanOfEdge", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","meanOfEdge", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","meanOfEdge", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_meanOfEdge_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","meanOfEdge", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","meanOfEdge", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->meanOfEdge);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_sdOfEdge_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sdOfEdge", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","sdOfEdge", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","sdOfEdge", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_sdOfEdge_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sdOfEdge", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","sdOfEdge", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->sdOfEdge);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_seOfEdge_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","seOfEdge", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","seOfEdge", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","seOfEdge", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_seOfEdge_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","seOfEdge", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","seOfEdge", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->seOfEdge);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_max_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","max", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","max", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","max", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_max_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","max", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","max", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->max);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_maxCoord_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","maxCoord", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","maxCoord", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","maxCoord", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_maxCoord_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeRealCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","maxCoord", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","maxCoord", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (mrcImageParaTypeRealCoord *)& ((arg1)->maxCoord);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_min_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","min", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","min", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","min", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_min_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","min", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","min", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->min);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_minCoord_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
mrcImageParaTypeRealCoord *arg2 = (mrcImageParaTypeRealCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","minCoord", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","minCoord", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "mrcImageParaTypeRealCoord *","minCoord", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_minCoord_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeRealCoord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","minCoord", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","minCoord", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (mrcImageParaTypeRealCoord *)& ((arg1)->minCoord);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mrcImageParaTypeRealCoord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_sd_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sd", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","sd", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","sd", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_sd_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","sd", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","sd", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->sd);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_se_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","se", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","se", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","se", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_se_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","se", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","se", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->se);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_rmax_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","rmax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","rmax", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","rmax", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_rmax_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","rmax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","rmax", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->rmax);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_flagrmax_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","flagrmax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","flagrmax", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","flagrmax", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_flagrmax_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","flagrmax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","flagrmax", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (long) ((arg1)->flagrmax);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_RMS_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","RMS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","RMS", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","RMS", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_RMS_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","RMS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","RMS", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->RMS);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_mode_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","mode", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","mode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_mode_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","mode", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (int) ((arg1)->mode);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_flagXrange_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","flagXrange", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","flagXrange", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","flagXrange", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_flagXrange_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","flagXrange", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","flagXrange", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (int) ((arg1)->flagXrange);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_flagYrange_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","flagYrange", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","flagYrange", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","flagYrange", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_flagYrange_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","flagYrange", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","flagYrange", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (int) ((arg1)->flagYrange);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_flagZrange_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","flagZrange", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","flagZrange", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","flagZrange", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_flagZrange_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","flagZrange", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","flagZrange", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (int) ((arg1)->flagZrange);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_XrangeMin_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","XrangeMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","XrangeMin", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","XrangeMin", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_XrangeMin_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","XrangeMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","XrangeMin", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->XrangeMin);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_XrangeMax_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","XrangeMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","XrangeMax", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","XrangeMax", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_XrangeMax_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","XrangeMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","XrangeMax", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->XrangeMax);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_YrangeMin_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","YrangeMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","YrangeMin", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","YrangeMin", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_YrangeMin_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","YrangeMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","YrangeMin", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->YrangeMin);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_YrangeMax_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","YrangeMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","YrangeMax", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","YrangeMax", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_YrangeMax_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","YrangeMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","YrangeMax", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->YrangeMax);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_ZrangeMin_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","ZrangeMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","ZrangeMin", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","ZrangeMin", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_ZrangeMin_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","ZrangeMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","ZrangeMin", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->ZrangeMin);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_ZrangeMax_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","ZrangeMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","ZrangeMax", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","ZrangeMax", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_ZrangeMax_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","ZrangeMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","ZrangeMax", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->ZrangeMax);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_flagCentre_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","flagCentre", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","flagCentre", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","flagCentre", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_flagCentre_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","flagCentre", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","flagCentre", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (int) ((arg1)->flagCentre);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_CentreX_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","CentreX", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","CentreX", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","CentreX", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_CentreX_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","CentreX", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","CentreX", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->CentreX);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_CentreY_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","CentreY", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","CentreY", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","CentreY", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_CentreY_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","CentreY", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","CentreY", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->CentreY);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageInformation_CentreZ_set(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","CentreZ", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","CentreZ", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","CentreZ", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageInformation_CentreZ_get(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *arg1 = (mrcImageInformation *) 0 ;
+ struct mrcImageInformation *arg1 = (struct mrcImageInformation *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageInformation, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageInformation *","CentreZ", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageInformation *","CentreZ", 1, self ));
}
- arg1 = (mrcImageInformation *)(argp1);
+ arg1 = (struct mrcImageInformation *)(argp1);
result = (double) ((arg1)->CentreZ);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_mrcImageInformation(int argc, VALUE *argv, VALUE self) {
- mrcImageInformation *result = 0 ;
+ struct mrcImageInformation *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (mrcImageInformation *)calloc(1, sizeof(mrcImageInformation));
+ result = (struct mrcImageInformation *)calloc(1, sizeof(struct mrcImageInformation));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_mrcImageInformation(mrcImageInformation *arg1) {
+free_mrcImageInformation(struct mrcImageInformation *arg1) {
free((char *) arg1);
}
-swig_class SwigClassLmrcImageSmoothingInfo;
+static swig_class SwigClassLmrcImageSmoothingInfo;
SWIGINTERN VALUE
_wrap_lmrcImageSmoothingInfo_mode_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
+ struct lmrcImageSmoothingInfo *arg1 = (struct lmrcImageSmoothingInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageSmoothingInfo *","mode", 1, self ));
}
- arg1 = (lmrcImageSmoothingInfo *)(argp1);
+ arg1 = (struct lmrcImageSmoothingInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageSmoothingInfo_mode_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
+ struct lmrcImageSmoothingInfo *arg1 = (struct lmrcImageSmoothingInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageSmoothingInfo *","mode", 1, self ));
}
- arg1 = (lmrcImageSmoothingInfo *)(argp1);
+ arg1 = (struct lmrcImageSmoothingInfo *)(argp1);
result = (long) ((arg1)->mode);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageSmoothingInfo_sx_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
+ struct lmrcImageSmoothingInfo *arg1 = (struct lmrcImageSmoothingInfo *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sx", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageSmoothingInfo *","sx", 1, self ));
}
- arg1 = (lmrcImageSmoothingInfo *)(argp1);
+ arg1 = (struct lmrcImageSmoothingInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","sx", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageSmoothingInfo_sx_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
+ struct lmrcImageSmoothingInfo *arg1 = (struct lmrcImageSmoothingInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sx", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageSmoothingInfo *","sx", 1, self ));
}
- arg1 = (lmrcImageSmoothingInfo *)(argp1);
+ arg1 = (struct lmrcImageSmoothingInfo *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->sx);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageSmoothingInfo_sy_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
+ struct lmrcImageSmoothingInfo *arg1 = (struct lmrcImageSmoothingInfo *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sy", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageSmoothingInfo *","sy", 1, self ));
}
- arg1 = (lmrcImageSmoothingInfo *)(argp1);
+ arg1 = (struct lmrcImageSmoothingInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","sy", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageSmoothingInfo_sy_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
+ struct lmrcImageSmoothingInfo *arg1 = (struct lmrcImageSmoothingInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sy", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageSmoothingInfo *","sy", 1, self ));
}
- arg1 = (lmrcImageSmoothingInfo *)(argp1);
+ arg1 = (struct lmrcImageSmoothingInfo *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->sy);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageSmoothingInfo_sz_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
+ struct lmrcImageSmoothingInfo *arg1 = (struct lmrcImageSmoothingInfo *) 0 ;
mrcImageParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sz", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageSmoothingInfo *","sz", 1, self ));
}
- arg1 = (lmrcImageSmoothingInfo *)(argp1);
+ arg1 = (struct lmrcImageSmoothingInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "mrcImageParaTypeReal","sz", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageSmoothingInfo_sz_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
+ struct lmrcImageSmoothingInfo *arg1 = (struct lmrcImageSmoothingInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
mrcImageParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sz", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageSmoothingInfo *","sz", 1, self ));
}
- arg1 = (lmrcImageSmoothingInfo *)(argp1);
+ arg1 = (struct lmrcImageSmoothingInfo *)(argp1);
result = (mrcImageParaTypeReal) ((arg1)->sz);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageSmoothingInfo_sigma_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
+ struct lmrcImageSmoothingInfo *arg1 = (struct lmrcImageSmoothingInfo *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sigma", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageSmoothingInfo *","sigma", 1, self ));
}
- arg1 = (lmrcImageSmoothingInfo *)(argp1);
+ arg1 = (struct lmrcImageSmoothingInfo *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","sigma", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageSmoothingInfo_sigma_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageSmoothingInfo *arg1 = (lmrcImageSmoothingInfo *) 0 ;
+ struct lmrcImageSmoothingInfo *arg1 = (struct lmrcImageSmoothingInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageSmoothingInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageSmoothingInfo *","sigma", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageSmoothingInfo *","sigma", 1, self ));
}
- arg1 = (lmrcImageSmoothingInfo *)(argp1);
+ arg1 = (struct lmrcImageSmoothingInfo *)(argp1);
result = (double) ((arg1)->sigma);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_lmrcImageSmoothingInfo(int argc, VALUE *argv, VALUE self) {
- lmrcImageSmoothingInfo *result = 0 ;
+ struct lmrcImageSmoothingInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (lmrcImageSmoothingInfo *)calloc(1, sizeof(lmrcImageSmoothingInfo));
+ result = (struct lmrcImageSmoothingInfo *)calloc(1, sizeof(struct lmrcImageSmoothingInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_lmrcImageSmoothingInfo(lmrcImageSmoothingInfo *arg1) {
+free_lmrcImageSmoothingInfo(struct lmrcImageSmoothingInfo *arg1) {
free((char *) arg1);
}
-swig_class SwigClassLmrcImageCVEInfo;
+static swig_class SwigClassLmrcImageCVEInfo;
SWIGINTERN VALUE
_wrap_lmrcImageCVEInfo_sx_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
+ struct lmrcImageCVEInfo *arg1 = (struct lmrcImageCVEInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCVEInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","sx", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCVEInfo *","sx", 1, self ));
}
- arg1 = (lmrcImageCVEInfo *)(argp1);
+ arg1 = (struct lmrcImageCVEInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","sx", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageCVEInfo_sx_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
+ struct lmrcImageCVEInfo *arg1 = (struct lmrcImageCVEInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCVEInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","sx", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCVEInfo *","sx", 1, self ));
}
- arg1 = (lmrcImageCVEInfo *)(argp1);
+ arg1 = (struct lmrcImageCVEInfo *)(argp1);
result = (long) ((arg1)->sx);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageCVEInfo_sy_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
+ struct lmrcImageCVEInfo *arg1 = (struct lmrcImageCVEInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCVEInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","sy", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCVEInfo *","sy", 1, self ));
}
- arg1 = (lmrcImageCVEInfo *)(argp1);
+ arg1 = (struct lmrcImageCVEInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","sy", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageCVEInfo_sy_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
+ struct lmrcImageCVEInfo *arg1 = (struct lmrcImageCVEInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCVEInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","sy", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCVEInfo *","sy", 1, self ));
}
- arg1 = (lmrcImageCVEInfo *)(argp1);
+ arg1 = (struct lmrcImageCVEInfo *)(argp1);
result = (long) ((arg1)->sy);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageCVEInfo_sz_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
+ struct lmrcImageCVEInfo *arg1 = (struct lmrcImageCVEInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCVEInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","sz", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCVEInfo *","sz", 1, self ));
}
- arg1 = (lmrcImageCVEInfo *)(argp1);
+ arg1 = (struct lmrcImageCVEInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","sz", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageCVEInfo_sz_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageCVEInfo *arg1 = (lmrcImageCVEInfo *) 0 ;
+ struct lmrcImageCVEInfo *arg1 = (struct lmrcImageCVEInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCVEInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCVEInfo *","sz", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCVEInfo *","sz", 1, self ));
}
- arg1 = (lmrcImageCVEInfo *)(argp1);
+ arg1 = (struct lmrcImageCVEInfo *)(argp1);
result = (long) ((arg1)->sz);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_lmrcImageCVEInfo(int argc, VALUE *argv, VALUE self) {
- lmrcImageCVEInfo *result = 0 ;
+ struct lmrcImageCVEInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (lmrcImageCVEInfo *)calloc(1, sizeof(lmrcImageCVEInfo));
+ result = (struct lmrcImageCVEInfo *)calloc(1, sizeof(struct lmrcImageCVEInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_lmrcImageCVEInfo(lmrcImageCVEInfo *arg1) {
+free_lmrcImageCVEInfo(struct lmrcImageCVEInfo *arg1) {
free((char *) arg1);
}
-swig_class SwigClassLmrcImageTfunctionInfo;
+static swig_class SwigClassLmrcImageTfunctionInfo;
SWIGINTERN VALUE
_wrap_lmrcImageTfunctionInfo_sx_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
+ struct lmrcImageTfunctionInfo *arg1 = (struct lmrcImageTfunctionInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","sx", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageTfunctionInfo *","sx", 1, self ));
}
- arg1 = (lmrcImageTfunctionInfo *)(argp1);
+ arg1 = (struct lmrcImageTfunctionInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","sx", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageTfunctionInfo_sx_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
+ struct lmrcImageTfunctionInfo *arg1 = (struct lmrcImageTfunctionInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","sx", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageTfunctionInfo *","sx", 1, self ));
}
- arg1 = (lmrcImageTfunctionInfo *)(argp1);
+ arg1 = (struct lmrcImageTfunctionInfo *)(argp1);
result = (long) ((arg1)->sx);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageTfunctionInfo_sy_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
+ struct lmrcImageTfunctionInfo *arg1 = (struct lmrcImageTfunctionInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","sy", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageTfunctionInfo *","sy", 1, self ));
}
- arg1 = (lmrcImageTfunctionInfo *)(argp1);
+ arg1 = (struct lmrcImageTfunctionInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","sy", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageTfunctionInfo_sy_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
+ struct lmrcImageTfunctionInfo *arg1 = (struct lmrcImageTfunctionInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","sy", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageTfunctionInfo *","sy", 1, self ));
}
- arg1 = (lmrcImageTfunctionInfo *)(argp1);
+ arg1 = (struct lmrcImageTfunctionInfo *)(argp1);
result = (long) ((arg1)->sy);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageTfunctionInfo_sz_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
+ struct lmrcImageTfunctionInfo *arg1 = (struct lmrcImageTfunctionInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","sz", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageTfunctionInfo *","sz", 1, self ));
}
- arg1 = (lmrcImageTfunctionInfo *)(argp1);
+ arg1 = (struct lmrcImageTfunctionInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","sz", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageTfunctionInfo_sz_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageTfunctionInfo *arg1 = (lmrcImageTfunctionInfo *) 0 ;
+ struct lmrcImageTfunctionInfo *arg1 = (struct lmrcImageTfunctionInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageTfunctionInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageTfunctionInfo *","sz", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageTfunctionInfo *","sz", 1, self ));
}
- arg1 = (lmrcImageTfunctionInfo *)(argp1);
+ arg1 = (struct lmrcImageTfunctionInfo *)(argp1);
result = (long) ((arg1)->sz);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_lmrcImageTfunctionInfo(int argc, VALUE *argv, VALUE self) {
- lmrcImageTfunctionInfo *result = 0 ;
+ struct lmrcImageTfunctionInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (lmrcImageTfunctionInfo *)calloc(1, sizeof(lmrcImageTfunctionInfo));
+ result = (struct lmrcImageTfunctionInfo *)calloc(1, sizeof(struct lmrcImageTfunctionInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_lmrcImageTfunctionInfo(lmrcImageTfunctionInfo *arg1) {
+free_lmrcImageTfunctionInfo(struct lmrcImageTfunctionInfo *arg1) {
free((char *) arg1);
}
-swig_class SwigClassLmrcImageHighlightInfo;
+static swig_class SwigClassLmrcImageHighlightInfo;
SWIGINTERN VALUE
_wrap_lmrcImageHighlightInfo_mode_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
+ struct lmrcImageHighlightInfo *arg1 = (struct lmrcImageHighlightInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighlightInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighlightInfo *","mode", 1, self ));
}
- arg1 = (lmrcImageHighlightInfo *)(argp1);
+ arg1 = (struct lmrcImageHighlightInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageHighlightInfo_mode_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
+ struct lmrcImageHighlightInfo *arg1 = (struct lmrcImageHighlightInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighlightInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighlightInfo *","mode", 1, self ));
}
- arg1 = (lmrcImageHighlightInfo *)(argp1);
+ arg1 = (struct lmrcImageHighlightInfo *)(argp1);
result = (long) ((arg1)->mode);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageHighlightInfo_Bias_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
+ struct lmrcImageHighlightInfo *arg1 = (struct lmrcImageHighlightInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighlightInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","Bias", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighlightInfo *","Bias", 1, self ));
}
- arg1 = (lmrcImageHighlightInfo *)(argp1);
+ arg1 = (struct lmrcImageHighlightInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","Bias", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageHighlightInfo_Bias_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
+ struct lmrcImageHighlightInfo *arg1 = (struct lmrcImageHighlightInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighlightInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","Bias", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighlightInfo *","Bias", 1, self ));
}
- arg1 = (lmrcImageHighlightInfo *)(argp1);
+ arg1 = (struct lmrcImageHighlightInfo *)(argp1);
result = (float) ((arg1)->Bias);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageHighlightInfo_Grad_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
+ struct lmrcImageHighlightInfo *arg1 = (struct lmrcImageHighlightInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighlightInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","Grad", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighlightInfo *","Grad", 1, self ));
}
- arg1 = (lmrcImageHighlightInfo *)(argp1);
+ arg1 = (struct lmrcImageHighlightInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","Grad", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageHighlightInfo_Grad_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighlightInfo *arg1 = (lmrcImageHighlightInfo *) 0 ;
+ struct lmrcImageHighlightInfo *arg1 = (struct lmrcImageHighlightInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighlightInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighlightInfo *","Grad", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighlightInfo *","Grad", 1, self ));
}
- arg1 = (lmrcImageHighlightInfo *)(argp1);
+ arg1 = (struct lmrcImageHighlightInfo *)(argp1);
result = (float) ((arg1)->Grad);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_lmrcImageHighlightInfo(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighlightInfo *result = 0 ;
+ struct lmrcImageHighlightInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (lmrcImageHighlightInfo *)calloc(1, sizeof(lmrcImageHighlightInfo));
+ result = (struct lmrcImageHighlightInfo *)calloc(1, sizeof(struct lmrcImageHighlightInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_lmrcImageHighlightInfo(lmrcImageHighlightInfo *arg1) {
+free_lmrcImageHighlightInfo(struct lmrcImageHighlightInfo *arg1) {
free((char *) arg1);
}
-swig_class SwigClassLmrcImageLowPassFilterInfo;
+static swig_class SwigClassLmrcImageLowPassFilterInfo;
SWIGINTERN VALUE
_wrap_lmrcImageLowPassFilterInfo_mode_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
+ struct lmrcImageLowPassFilterInfo *arg1 = (struct lmrcImageLowPassFilterInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageLowPassFilterInfo *","mode", 1, self ));
}
- arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageLowPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageLowPassFilterInfo_mode_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
+ struct lmrcImageLowPassFilterInfo *arg1 = (struct lmrcImageLowPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageLowPassFilterInfo *","mode", 1, self ));
}
- arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageLowPassFilterInfo *)(argp1);
result = (long) ((arg1)->mode);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageLowPassFilterInfo_hvp_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
+ struct lmrcImageLowPassFilterInfo *arg1 = (struct lmrcImageLowPassFilterInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","hvp", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageLowPassFilterInfo *","hvp", 1, self ));
}
- arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageLowPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","hvp", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageLowPassFilterInfo_hvp_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
+ struct lmrcImageLowPassFilterInfo *arg1 = (struct lmrcImageLowPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","hvp", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageLowPassFilterInfo *","hvp", 1, self ));
}
- arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageLowPassFilterInfo *)(argp1);
result = (float) ((arg1)->hvp);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageLowPassFilterInfo_width_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
+ struct lmrcImageLowPassFilterInfo *arg1 = (struct lmrcImageLowPassFilterInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","width", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageLowPassFilterInfo *","width", 1, self ));
}
- arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageLowPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","width", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageLowPassFilterInfo_width_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageLowPassFilterInfo *arg1 = (lmrcImageLowPassFilterInfo *) 0 ;
+ struct lmrcImageLowPassFilterInfo *arg1 = (struct lmrcImageLowPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageLowPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageLowPassFilterInfo *","width", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageLowPassFilterInfo *","width", 1, self ));
}
- arg1 = (lmrcImageLowPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageLowPassFilterInfo *)(argp1);
result = (float) ((arg1)->width);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_lmrcImageLowPassFilterInfo(int argc, VALUE *argv, VALUE self) {
- lmrcImageLowPassFilterInfo *result = 0 ;
+ struct lmrcImageLowPassFilterInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (lmrcImageLowPassFilterInfo *)calloc(1, sizeof(lmrcImageLowPassFilterInfo));
+ result = (struct lmrcImageLowPassFilterInfo *)calloc(1, sizeof(struct lmrcImageLowPassFilterInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_lmrcImageLowPassFilterInfo(lmrcImageLowPassFilterInfo *arg1) {
+free_lmrcImageLowPassFilterInfo(struct lmrcImageLowPassFilterInfo *arg1) {
free((char *) arg1);
}
-swig_class SwigClassLmrcImageHighPassFilterInfo;
+static swig_class SwigClassLmrcImageHighPassFilterInfo;
SWIGINTERN VALUE
_wrap_lmrcImageHighPassFilterInfo_mode_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
+ struct lmrcImageHighPassFilterInfo *arg1 = (struct lmrcImageHighPassFilterInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighPassFilterInfo *","mode", 1, self ));
}
- arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageHighPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageHighPassFilterInfo_mode_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
+ struct lmrcImageHighPassFilterInfo *arg1 = (struct lmrcImageHighPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighPassFilterInfo *","mode", 1, self ));
}
- arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageHighPassFilterInfo *)(argp1);
result = (long) ((arg1)->mode);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageHighPassFilterInfo_hvp_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
+ struct lmrcImageHighPassFilterInfo *arg1 = (struct lmrcImageHighPassFilterInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","hvp", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighPassFilterInfo *","hvp", 1, self ));
}
- arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageHighPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","hvp", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageHighPassFilterInfo_hvp_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
+ struct lmrcImageHighPassFilterInfo *arg1 = (struct lmrcImageHighPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","hvp", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighPassFilterInfo *","hvp", 1, self ));
}
- arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageHighPassFilterInfo *)(argp1);
result = (float) ((arg1)->hvp);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageHighPassFilterInfo_width_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
+ struct lmrcImageHighPassFilterInfo *arg1 = (struct lmrcImageHighPassFilterInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","width", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighPassFilterInfo *","width", 1, self ));
}
- arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageHighPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","width", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageHighPassFilterInfo_width_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
+ struct lmrcImageHighPassFilterInfo *arg1 = (struct lmrcImageHighPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","width", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighPassFilterInfo *","width", 1, self ));
}
- arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageHighPassFilterInfo *)(argp1);
result = (float) ((arg1)->width);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageHighPassFilterInfo_pathWindowLow_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
+ struct lmrcImageHighPassFilterInfo *arg1 = (struct lmrcImageHighPassFilterInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","pathWindowLow", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighPassFilterInfo *","pathWindowLow", 1, self ));
}
- arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageHighPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","pathWindowLow", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageHighPassFilterInfo_pathWindowLow_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
+ struct lmrcImageHighPassFilterInfo *arg1 = (struct lmrcImageHighPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","pathWindowLow", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighPassFilterInfo *","pathWindowLow", 1, self ));
}
- arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageHighPassFilterInfo *)(argp1);
result = (float) ((arg1)->pathWindowLow);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageHighPassFilterInfo_pathWindowHigh_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
+ struct lmrcImageHighPassFilterInfo *arg1 = (struct lmrcImageHighPassFilterInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","pathWindowHigh", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighPassFilterInfo *","pathWindowHigh", 1, self ));
}
- arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageHighPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","pathWindowHigh", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageHighPassFilterInfo_pathWindowHigh_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighPassFilterInfo *arg1 = (lmrcImageHighPassFilterInfo *) 0 ;
+ struct lmrcImageHighPassFilterInfo *arg1 = (struct lmrcImageHighPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageHighPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageHighPassFilterInfo *","pathWindowHigh", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageHighPassFilterInfo *","pathWindowHigh", 1, self ));
}
- arg1 = (lmrcImageHighPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageHighPassFilterInfo *)(argp1);
result = (float) ((arg1)->pathWindowHigh);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_lmrcImageHighPassFilterInfo(int argc, VALUE *argv, VALUE self) {
- lmrcImageHighPassFilterInfo *result = 0 ;
+ struct lmrcImageHighPassFilterInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (lmrcImageHighPassFilterInfo *)calloc(1, sizeof(lmrcImageHighPassFilterInfo));
+ result = (struct lmrcImageHighPassFilterInfo *)calloc(1, sizeof(struct lmrcImageHighPassFilterInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_lmrcImageHighPassFilterInfo(lmrcImageHighPassFilterInfo *arg1) {
+free_lmrcImageHighPassFilterInfo(struct lmrcImageHighPassFilterInfo *arg1) {
free((char *) arg1);
}
-swig_class SwigClassLmrcImageBandPassFilterInfo;
+static swig_class SwigClassLmrcImageBandPassFilterInfo;
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_mode_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","mode", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_mode_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","mode", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
result = (long) ((arg1)->mode);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_hvl_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","hvl", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","hvl", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","hvl", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_hvl_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","hvl", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","hvl", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
result = (float) ((arg1)->hvl);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_hvh_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","hvh", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","hvh", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","hvh", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_hvh_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","hvh", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","hvh", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
result = (float) ((arg1)->hvh);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_wl_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","wl", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","wl", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","wl", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_wl_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","wl", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","wl", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
result = (float) ((arg1)->wl);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_wh_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","wh", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","wh", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","wh", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_wh_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","wh", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","wh", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
result = (float) ((arg1)->wh);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_flagLowWeight_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","flagLowWeight", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","flagLowWeight", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","flagLowWeight", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_flagLowWeight_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","flagLowWeight", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","flagLowWeight", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
result = (int) ((arg1)->flagLowWeight);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_lowWeight_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","lowWeight", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","lowWeight", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","lowWeight", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageBandPassFilterInfo_lowWeight_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *arg1 = (lmrcImageBandPassFilterInfo *) 0 ;
+ struct lmrcImageBandPassFilterInfo *arg1 = (struct lmrcImageBandPassFilterInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageBandPassFilterInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageBandPassFilterInfo *","lowWeight", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageBandPassFilterInfo *","lowWeight", 1, self ));
}
- arg1 = (lmrcImageBandPassFilterInfo *)(argp1);
+ arg1 = (struct lmrcImageBandPassFilterInfo *)(argp1);
result = (double) ((arg1)->lowWeight);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_lmrcImageBandPassFilterInfo(int argc, VALUE *argv, VALUE self) {
- lmrcImageBandPassFilterInfo *result = 0 ;
+ struct lmrcImageBandPassFilterInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (lmrcImageBandPassFilterInfo *)calloc(1, sizeof(lmrcImageBandPassFilterInfo));
+ result = (struct lmrcImageBandPassFilterInfo *)calloc(1, sizeof(struct lmrcImageBandPassFilterInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_lmrcImageBandPassFilterInfo(lmrcImageBandPassFilterInfo *arg1) {
+free_lmrcImageBandPassFilterInfo(struct lmrcImageBandPassFilterInfo *arg1) {
free((char *) arg1);
}
}
-swig_class SwigClassLmrcImageMultiCTFCompensationInfo;
+static swig_class SwigClassLmrcImageMultiCTFCompensationInfo;
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_maxiteration_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","maxiteration", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","maxiteration", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","maxiteration", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_maxiteration_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","maxiteration", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","maxiteration", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
result = (long) ((arg1)->maxiteration);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_okrms_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","okrms", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","okrms", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","okrms", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_okrms_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","okrms", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","okrms", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
result = (double) ((arg1)->okrms);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_diversefactor_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","diversefactor", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","diversefactor", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","diversefactor", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_diversefactor_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","diversefactor", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","diversefactor", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
result = (long) ((arg1)->diversefactor);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_z_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","z", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","z", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","z", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_z_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","z", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","z", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
result = (double) ((arg1)->z);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_nhist_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","nhist", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","nhist", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","nhist", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_nhist_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","nhist", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","nhist", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
result = (long) ((arg1)->nhist);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_logfile_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
FILE *arg2 = (FILE *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","logfile", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","logfile", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FILE, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FILE *","logfile", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_logfile_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FILE *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","logfile", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","logfile", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
result = (FILE *) ((arg1)->logfile);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_solventMode_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
lmrcImageMultiCTFCompensationSolventFlatteningMode arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","solventMode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","solventMode", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationSolventFlatteningMode","solventMode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_solventMode_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
lmrcImageMultiCTFCompensationSolventFlatteningMode result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","solventMode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","solventMode", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
result = (lmrcImageMultiCTFCompensationSolventFlatteningMode) ((arg1)->solventMode);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_definedSTD_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
float arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","definedSTD", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","definedSTD", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","definedSTD", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageMultiCTFCompensationInfo_definedSTD_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *arg1 = (lmrcImageMultiCTFCompensationInfo *) 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *arg1 = (struct lmrcImageMultiCTFCompensationInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
float result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageMultiCTFCompensationInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageMultiCTFCompensationInfo *","definedSTD", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageMultiCTFCompensationInfo *","definedSTD", 1, self ));
}
- arg1 = (lmrcImageMultiCTFCompensationInfo *)(argp1);
+ arg1 = (struct lmrcImageMultiCTFCompensationInfo *)(argp1);
result = (float) ((arg1)->definedSTD);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_lmrcImageMultiCTFCompensationInfo(int argc, VALUE *argv, VALUE self) {
- lmrcImageMultiCTFCompensationInfo *result = 0 ;
+ struct lmrcImageMultiCTFCompensationInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (lmrcImageMultiCTFCompensationInfo *)calloc(1, sizeof(lmrcImageMultiCTFCompensationInfo));
+ result = (struct lmrcImageMultiCTFCompensationInfo *)calloc(1, sizeof(struct lmrcImageMultiCTFCompensationInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_lmrcImageMultiCTFCompensationInfo(lmrcImageMultiCTFCompensationInfo *arg1) {
+free_lmrcImageMultiCTFCompensationInfo(struct lmrcImageMultiCTFCompensationInfo *arg1) {
free((char *) arg1);
}
}
-swig_class SwigClassLmrcImageCTFSNInfo;
+static swig_class SwigClassLmrcImageCTFSNInfo;
SWIGINTERN VALUE
_wrap_lmrcImageCTFSNInfo_mode_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
+ struct lmrcImageCTFSNInfo *arg1 = (struct lmrcImageCTFSNInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCTFSNInfo *","mode", 1, self ));
}
- arg1 = (lmrcImageCTFSNInfo *)(argp1);
+ arg1 = (struct lmrcImageCTFSNInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageCTFSNInfo_mode_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
+ struct lmrcImageCTFSNInfo *arg1 = (struct lmrcImageCTFSNInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCTFSNInfo *","mode", 1, self ));
}
- arg1 = (lmrcImageCTFSNInfo *)(argp1);
+ arg1 = (struct lmrcImageCTFSNInfo *)(argp1);
result = (long) ((arg1)->mode);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageCTFSNInfo_deg1_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
+ struct lmrcImageCTFSNInfo *arg1 = (struct lmrcImageCTFSNInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","deg1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCTFSNInfo *","deg1", 1, self ));
}
- arg1 = (lmrcImageCTFSNInfo *)(argp1);
+ arg1 = (struct lmrcImageCTFSNInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","deg1", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageCTFSNInfo_deg1_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
+ struct lmrcImageCTFSNInfo *arg1 = (struct lmrcImageCTFSNInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","deg1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCTFSNInfo *","deg1", 1, self ));
}
- arg1 = (lmrcImageCTFSNInfo *)(argp1);
+ arg1 = (struct lmrcImageCTFSNInfo *)(argp1);
result = (long) ((arg1)->deg1);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageCTFSNInfo_deg2_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
+ struct lmrcImageCTFSNInfo *arg1 = (struct lmrcImageCTFSNInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","deg2", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCTFSNInfo *","deg2", 1, self ));
}
- arg1 = (lmrcImageCTFSNInfo *)(argp1);
+ arg1 = (struct lmrcImageCTFSNInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","deg2", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageCTFSNInfo_deg2_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
+ struct lmrcImageCTFSNInfo *arg1 = (struct lmrcImageCTFSNInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","deg2", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCTFSNInfo *","deg2", 1, self ));
}
- arg1 = (lmrcImageCTFSNInfo *)(argp1);
+ arg1 = (struct lmrcImageCTFSNInfo *)(argp1);
result = (long) ((arg1)->deg2);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageCTFSNInfo_ctf_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
+ struct lmrcImageCTFSNInfo *arg1 = (struct lmrcImageCTFSNInfo *) 0 ;
ctfInfo arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","ctf", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCTFSNInfo *","ctf", 1, self ));
}
- arg1 = (lmrcImageCTFSNInfo *)(argp1);
+ arg1 = (struct lmrcImageCTFSNInfo *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_ctfInfo, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_lmrcImageCTFSNInfo_ctf_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageCTFSNInfo *arg1 = (lmrcImageCTFSNInfo *) 0 ;
+ struct lmrcImageCTFSNInfo *arg1 = (struct lmrcImageCTFSNInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
ctfInfo result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageCTFSNInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageCTFSNInfo *","ctf", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageCTFSNInfo *","ctf", 1, self ));
}
- arg1 = (lmrcImageCTFSNInfo *)(argp1);
+ arg1 = (struct lmrcImageCTFSNInfo *)(argp1);
result = ((arg1)->ctf);
vresult = SWIG_NewPointerObj((ctfInfo *)memcpy((ctfInfo *)malloc(sizeof(ctfInfo)),&result,sizeof(ctfInfo)), SWIGTYPE_p_ctfInfo, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_lmrcImageCTFSNInfo(int argc, VALUE *argv, VALUE self) {
- lmrcImageCTFSNInfo *result = 0 ;
+ struct lmrcImageCTFSNInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (lmrcImageCTFSNInfo *)calloc(1, sizeof(lmrcImageCTFSNInfo));
+ result = (struct lmrcImageCTFSNInfo *)calloc(1, sizeof(struct lmrcImageCTFSNInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_lmrcImageCTFSNInfo(lmrcImageCTFSNInfo *arg1) {
+free_lmrcImageCTFSNInfo(struct lmrcImageCTFSNInfo *arg1) {
free((char *) arg1);
}
}
-swig_class SwigClassMrcImageFourierPowerSpectrum;
+static swig_class SwigClassMrcImageFourierPowerSpectrum;
SWIGINTERN VALUE
_wrap_mrcImageFourierPowerSpectrum_n_set(int argc, VALUE *argv, VALUE self) {
- mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
+ struct mrcImageFourierPowerSpectrum *arg1 = (struct mrcImageFourierPowerSpectrum *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageFourierPowerSpectrum, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum *","n", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageFourierPowerSpectrum *","n", 1, self ));
}
- arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
+ arg1 = (struct mrcImageFourierPowerSpectrum *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","n", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageFourierPowerSpectrum_n_get(int argc, VALUE *argv, VALUE self) {
- mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
+ struct mrcImageFourierPowerSpectrum *arg1 = (struct mrcImageFourierPowerSpectrum *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageFourierPowerSpectrum, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum *","n", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageFourierPowerSpectrum *","n", 1, self ));
}
- arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
+ arg1 = (struct mrcImageFourierPowerSpectrum *)(argp1);
result = (long) ((arg1)->n);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageFourierPowerSpectrum_d_set(int argc, VALUE *argv, VALUE self) {
- mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
+ struct mrcImageFourierPowerSpectrum *arg1 = (struct mrcImageFourierPowerSpectrum *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageFourierPowerSpectrum, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum *","d", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageFourierPowerSpectrum *","d", 1, self ));
}
- arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
+ arg1 = (struct mrcImageFourierPowerSpectrum *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","d", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageFourierPowerSpectrum_d_get(int argc, VALUE *argv, VALUE self) {
- mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
+ struct mrcImageFourierPowerSpectrum *arg1 = (struct mrcImageFourierPowerSpectrum *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageFourierPowerSpectrum, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum *","d", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageFourierPowerSpectrum *","d", 1, self ));
}
- arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
+ arg1 = (struct mrcImageFourierPowerSpectrum *)(argp1);
result = (double) ((arg1)->d);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_mrcImageFourierPowerSpectrum_h_set(int argc, VALUE *argv, VALUE self) {
- mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
+ struct mrcImageFourierPowerSpectrum *arg1 = (struct mrcImageFourierPowerSpectrum *) 0 ;
double *arg2 = (double *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageFourierPowerSpectrum, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum *","h", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageFourierPowerSpectrum *","h", 1, self ));
}
- arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
+ arg1 = (struct mrcImageFourierPowerSpectrum *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_double, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "double *","h", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_mrcImageFourierPowerSpectrum_h_get(int argc, VALUE *argv, VALUE self) {
- mrcImageFourierPowerSpectrum *arg1 = (mrcImageFourierPowerSpectrum *) 0 ;
+ struct mrcImageFourierPowerSpectrum *arg1 = (struct mrcImageFourierPowerSpectrum *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mrcImageFourierPowerSpectrum, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "mrcImageFourierPowerSpectrum *","h", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct mrcImageFourierPowerSpectrum *","h", 1, self ));
}
- arg1 = (mrcImageFourierPowerSpectrum *)(argp1);
+ arg1 = (struct mrcImageFourierPowerSpectrum *)(argp1);
result = (double *) ((arg1)->h);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_mrcImageFourierPowerSpectrum(int argc, VALUE *argv, VALUE self) {
- mrcImageFourierPowerSpectrum *result = 0 ;
+ struct mrcImageFourierPowerSpectrum *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (mrcImageFourierPowerSpectrum *)calloc(1, sizeof(mrcImageFourierPowerSpectrum));
+ result = (struct mrcImageFourierPowerSpectrum *)calloc(1, sizeof(struct mrcImageFourierPowerSpectrum));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_mrcImageFourierPowerSpectrum(mrcImageFourierPowerSpectrum *arg1) {
+free_mrcImageFourierPowerSpectrum(struct mrcImageFourierPowerSpectrum *arg1) {
free((char *) arg1);
}
-swig_class SwigClassLmrcImageFourierPowerSpectrumInfo;
+static swig_class SwigClassLmrcImageFourierPowerSpectrumInfo;
SWIGINTERN VALUE
_wrap_lmrcImageFourierPowerSpectrumInfo_dX_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
+ struct lmrcImageFourierPowerSpectrumInfo *arg1 = (struct lmrcImageFourierPowerSpectrumInfo *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","dX", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageFourierPowerSpectrumInfo *","dX", 1, self ));
}
- arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
+ arg1 = (struct lmrcImageFourierPowerSpectrumInfo *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","dX", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageFourierPowerSpectrumInfo_dX_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
+ struct lmrcImageFourierPowerSpectrumInfo *arg1 = (struct lmrcImageFourierPowerSpectrumInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","dX", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageFourierPowerSpectrumInfo *","dX", 1, self ));
}
- arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
+ arg1 = (struct lmrcImageFourierPowerSpectrumInfo *)(argp1);
result = (double) ((arg1)->dX);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageFourierPowerSpectrumInfo_dY_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
+ struct lmrcImageFourierPowerSpectrumInfo *arg1 = (struct lmrcImageFourierPowerSpectrumInfo *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","dY", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageFourierPowerSpectrumInfo *","dY", 1, self ));
}
- arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
+ arg1 = (struct lmrcImageFourierPowerSpectrumInfo *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","dY", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageFourierPowerSpectrumInfo_dY_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
+ struct lmrcImageFourierPowerSpectrumInfo *arg1 = (struct lmrcImageFourierPowerSpectrumInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","dY", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageFourierPowerSpectrumInfo *","dY", 1, self ));
}
- arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
+ arg1 = (struct lmrcImageFourierPowerSpectrumInfo *)(argp1);
result = (double) ((arg1)->dY);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_lmrcImageFourierPowerSpectrumInfo_dZ_set(int argc, VALUE *argv, VALUE self) {
- lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
+ struct lmrcImageFourierPowerSpectrumInfo *arg1 = (struct lmrcImageFourierPowerSpectrumInfo *) 0 ;
double arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","dZ", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageFourierPowerSpectrumInfo *","dZ", 1, self ));
}
- arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
+ arg1 = (struct lmrcImageFourierPowerSpectrumInfo *)(argp1);
ecode2 = SWIG_AsVal_double(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "double","dZ", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_lmrcImageFourierPowerSpectrumInfo_dZ_get(int argc, VALUE *argv, VALUE self) {
- lmrcImageFourierPowerSpectrumInfo *arg1 = (lmrcImageFourierPowerSpectrumInfo *) 0 ;
+ struct lmrcImageFourierPowerSpectrumInfo *arg1 = (struct lmrcImageFourierPowerSpectrumInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
double result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_lmrcImageFourierPowerSpectrumInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "lmrcImageFourierPowerSpectrumInfo *","dZ", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct lmrcImageFourierPowerSpectrumInfo *","dZ", 1, self ));
}
- arg1 = (lmrcImageFourierPowerSpectrumInfo *)(argp1);
+ arg1 = (struct lmrcImageFourierPowerSpectrumInfo *)(argp1);
result = (double) ((arg1)->dZ);
vresult = SWIG_From_double((double)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_lmrcImageFourierPowerSpectrumInfo(int argc, VALUE *argv, VALUE self) {
- lmrcImageFourierPowerSpectrumInfo *result = 0 ;
+ struct lmrcImageFourierPowerSpectrumInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (lmrcImageFourierPowerSpectrumInfo *)calloc(1, sizeof(lmrcImageFourierPowerSpectrumInfo));
+ result = (struct lmrcImageFourierPowerSpectrumInfo *)calloc(1, sizeof(struct lmrcImageFourierPowerSpectrumInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_lmrcImageFourierPowerSpectrumInfo(lmrcImageFourierPowerSpectrumInfo *arg1) {
+free_lmrcImageFourierPowerSpectrumInfo(struct lmrcImageFourierPowerSpectrumInfo *arg1) {
free((char *) arg1);
}
}
-swig_class SwigClassResidueName;
+static swig_class SwigClassResidueName;
SWIGINTERN VALUE
_wrap_residueName_residueName3_set(int argc, VALUE *argv, VALUE self) {
- residueName *arg1 = (residueName *) 0 ;
+ struct residueName *arg1 = (struct residueName *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_residueName, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "residueName *","residueName3", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct residueName *","residueName3", 1, self ));
}
- arg1 = (residueName *)(argp1);
+ arg1 = (struct residueName *)(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 4);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [4]","residueName3", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_residueName_residueName3_get(int argc, VALUE *argv, VALUE self) {
- residueName *arg1 = (residueName *) 0 ;
+ struct residueName *arg1 = (struct residueName *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_residueName, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "residueName *","residueName3", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct residueName *","residueName3", 1, self ));
}
- arg1 = (residueName *)(argp1);
+ arg1 = (struct residueName *)(argp1);
result = (char *)(char *) ((arg1)->residueName3);
{
size_t size = 4;
SWIGINTERN VALUE
_wrap_residueName_residueName1_set(int argc, VALUE *argv, VALUE self) {
- residueName *arg1 = (residueName *) 0 ;
+ struct residueName *arg1 = (struct residueName *) 0 ;
char *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_residueName, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "residueName *","residueName1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct residueName *","residueName1", 1, self ));
}
- arg1 = (residueName *)(argp1);
+ arg1 = (struct residueName *)(argp1);
res2 = SWIG_AsCharArray(argv[0], temp2, 2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char [2]","residueName1", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_residueName_residueName1_get(int argc, VALUE *argv, VALUE self) {
- residueName *arg1 = (residueName *) 0 ;
+ struct residueName *arg1 = (struct residueName *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_residueName, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "residueName *","residueName1", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct residueName *","residueName1", 1, self ));
}
- arg1 = (residueName *)(argp1);
+ arg1 = (struct residueName *)(argp1);
result = (char *)(char *) ((arg1)->residueName1);
{
size_t size = 2;
SWIGINTERN VALUE
_wrap_new_residueName(int argc, VALUE *argv, VALUE self) {
- residueName *result = 0 ;
+ struct residueName *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (residueName *)calloc(1, sizeof(residueName));
+ result = (struct residueName *)calloc(1, sizeof(struct residueName));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_residueName(residueName *arg1) {
+free_residueName(struct residueName *arg1) {
free((char *) arg1);
}
-swig_class SwigClassPdbCoord;
+static swig_class SwigClassPdbCoord;
SWIGINTERN VALUE
_wrap_pdbCoord_x_set(int argc, VALUE *argv, VALUE self) {
- pdbCoord *arg1 = (pdbCoord *) 0 ;
+ struct pdbCoord *arg1 = (struct pdbCoord *) 0 ;
pdbFileParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCoord *","x", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCoord *","x", 1, self ));
}
- arg1 = (pdbCoord *)(argp1);
+ arg1 = (struct pdbCoord *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","x", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbCoord_x_get(int argc, VALUE *argv, VALUE self) {
- pdbCoord *arg1 = (pdbCoord *) 0 ;
+ struct pdbCoord *arg1 = (struct pdbCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
pdbFileParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCoord *","x", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCoord *","x", 1, self ));
}
- arg1 = (pdbCoord *)(argp1);
+ arg1 = (struct pdbCoord *)(argp1);
result = (pdbFileParaTypeReal) ((arg1)->x);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbCoord_y_set(int argc, VALUE *argv, VALUE self) {
- pdbCoord *arg1 = (pdbCoord *) 0 ;
+ struct pdbCoord *arg1 = (struct pdbCoord *) 0 ;
pdbFileParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCoord *","y", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCoord *","y", 1, self ));
}
- arg1 = (pdbCoord *)(argp1);
+ arg1 = (struct pdbCoord *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","y", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbCoord_y_get(int argc, VALUE *argv, VALUE self) {
- pdbCoord *arg1 = (pdbCoord *) 0 ;
+ struct pdbCoord *arg1 = (struct pdbCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
pdbFileParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCoord *","y", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCoord *","y", 1, self ));
}
- arg1 = (pdbCoord *)(argp1);
+ arg1 = (struct pdbCoord *)(argp1);
result = (pdbFileParaTypeReal) ((arg1)->y);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbCoord_z_set(int argc, VALUE *argv, VALUE self) {
- pdbCoord *arg1 = (pdbCoord *) 0 ;
+ struct pdbCoord *arg1 = (struct pdbCoord *) 0 ;
pdbFileParaTypeReal arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCoord *","z", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCoord *","z", 1, self ));
}
- arg1 = (pdbCoord *)(argp1);
+ arg1 = (struct pdbCoord *)(argp1);
ecode2 = SWIG_AsVal_float(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeReal","z", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbCoord_z_get(int argc, VALUE *argv, VALUE self) {
- pdbCoord *arg1 = (pdbCoord *) 0 ;
+ struct pdbCoord *arg1 = (struct pdbCoord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
pdbFileParaTypeReal result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCoord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCoord *","z", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCoord *","z", 1, self ));
}
- arg1 = (pdbCoord *)(argp1);
+ arg1 = (struct pdbCoord *)(argp1);
result = (pdbFileParaTypeReal) ((arg1)->z);
vresult = SWIG_From_float((float)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_pdbCoord(int argc, VALUE *argv, VALUE self) {
- pdbCoord *result = 0 ;
+ struct pdbCoord *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (pdbCoord *)calloc(1, sizeof(pdbCoord));
+ result = (struct pdbCoord *)calloc(1, sizeof(struct pdbCoord));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_pdbCoord(pdbCoord *arg1) {
+free_pdbCoord(struct pdbCoord *arg1) {
free((char *) arg1);
}
-swig_class SwigClassPdbSecondaryStructureHelix;
+static swig_class SwigClassPdbSecondaryStructureHelix;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_serNum_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","serNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","serNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","serNum", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_serNum_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","serNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","serNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (int) ((arg1)->serNum);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_helixID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","helixID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","helixID", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","helixID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_helixID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","helixID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","helixID", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (char *) ((arg1)->helixID);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_initResName_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","initResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","initResName", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_initResName_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","initResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (char *) ((arg1)->initResName);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_initChainID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","initChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initChainID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_initChainID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","initChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (char) ((arg1)->initChainID);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_initSeqNum_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","initSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","initSeqNum", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_initSeqNum_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","initSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (int) ((arg1)->initSeqNum);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_initICode_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","initICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initICode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_initICode_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","initICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","initICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (char) ((arg1)->initICode);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_endResName_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","endResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","endResName", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_endResName_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","endResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (char *) ((arg1)->endResName);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_endChainID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","endChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endChainID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_endChainID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","endChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (char) ((arg1)->endChainID);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_endSeqNum_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","endSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","endSeqNum", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_endSeqNum_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","endSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (int) ((arg1)->endSeqNum);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_endICode_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","endICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endICode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_endICode_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","endICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","endICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (char) ((arg1)->endICode);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_helixClass_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
pdbSecondaryStructureHelixClass arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","helixClass", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","helixClass", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelixClass","helixClass", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_helixClass_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
pdbSecondaryStructureHelixClass result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","helixClass", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","helixClass", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (pdbSecondaryStructureHelixClass) ((arg1)->helixClass);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_comment_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","comment", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","comment", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","comment", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_comment_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","comment", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","comment", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (char *) ((arg1)->comment);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_length_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","length", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","length", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","length", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureHelix_length_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *arg1 = (pdbSecondaryStructureHelix *) 0 ;
+ struct pdbSecondaryStructureHelix *arg1 = (struct pdbSecondaryStructureHelix *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureHelix, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureHelix *","length", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureHelix *","length", 1, self ));
}
- arg1 = (pdbSecondaryStructureHelix *)(argp1);
+ arg1 = (struct pdbSecondaryStructureHelix *)(argp1);
result = (int) ((arg1)->length);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_pdbSecondaryStructureHelix(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureHelix *result = 0 ;
+ struct pdbSecondaryStructureHelix *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (pdbSecondaryStructureHelix *)calloc(1, sizeof(pdbSecondaryStructureHelix));
+ result = (struct pdbSecondaryStructureHelix *)calloc(1, sizeof(struct pdbSecondaryStructureHelix));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_pdbSecondaryStructureHelix(pdbSecondaryStructureHelix *arg1) {
+free_pdbSecondaryStructureHelix(struct pdbSecondaryStructureHelix *arg1) {
free((char *) arg1);
}
-swig_class SwigClassPdbSecondaryStructureSheet;
+static swig_class SwigClassPdbSecondaryStructureSheet;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_strand_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","strand", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","strand", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","strand", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_strand_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","strand", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","strand", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (int) ((arg1)->strand);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_sheetID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","sheetID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","sheetID", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","sheetID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_sheetID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","sheetID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","sheetID", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char *) ((arg1)->sheetID);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_numStrands_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","numStrands", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","numStrands", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","numStrands", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_numStrands_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","numStrands", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","numStrands", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (int) ((arg1)->numStrands);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_initResName_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","initResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","initResName", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_initResName_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","initResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char *) ((arg1)->initResName);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_initChainID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","initChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initChainID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_initChainID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","initChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char) ((arg1)->initChainID);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_initSeqNum_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","initSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","initSeqNum", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_initSeqNum_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","initSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (int) ((arg1)->initSeqNum);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_initICode_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","initICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initICode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_initICode_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","initICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","initICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char) ((arg1)->initICode);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_endResName_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","endResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","endResName", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_endResName_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","endResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char *) ((arg1)->endResName);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_endChainID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","endChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endChainID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_endChainID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","endChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char) ((arg1)->endChainID);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_endSeqNum_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","endSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","endSeqNum", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_endSeqNum_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","endSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (int) ((arg1)->endSeqNum);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_endICode_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","endICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endICode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_endICode_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","endICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","endICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char) ((arg1)->endICode);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_sense_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","sense", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","sense", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","sense", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_sense_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","sense", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","sense", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (int) ((arg1)->sense);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_curAtom_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curAtom", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","curAtom", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","curAtom", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_curAtom_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curAtom", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","curAtom", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char *) ((arg1)->curAtom);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_curResName_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","curResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","curResName", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_curResName_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","curResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char *) ((arg1)->curResName);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_curChainID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","curChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","curChainID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_curChainID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","curChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char) ((arg1)->curChainID);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_curResSeq_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curResSeq", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","curResSeq", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","curResSeq", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_curResSeq_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curResSeq", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","curResSeq", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (int) ((arg1)->curResSeq);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_curICode_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","curICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","curICode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_curICode_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","curICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","curICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char) ((arg1)->curICode);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_prevAtom_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevAtom", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","prevAtom", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","prevAtom", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_prevAtom_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevAtom", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","prevAtom", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char *) ((arg1)->prevAtom);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_prevResName_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","prevResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","prevResName", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_prevResName_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","prevResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char *) ((arg1)->prevResName);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_prevChainID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","prevChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","prevChainID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_prevChainID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","prevChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char) ((arg1)->prevChainID);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_prevResSeq_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevResSeq", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","prevResSeq", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","prevResSeq", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_prevResSeq_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevResSeq", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","prevResSeq", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (int) ((arg1)->prevResSeq);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_prevICode_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","prevICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","prevICode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureSheet_prevICode_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *arg1 = (pdbSecondaryStructureSheet *) 0 ;
+ struct pdbSecondaryStructureSheet *arg1 = (struct pdbSecondaryStructureSheet *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureSheet, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureSheet *","prevICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureSheet *","prevICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureSheet *)(argp1);
+ arg1 = (struct pdbSecondaryStructureSheet *)(argp1);
result = (char) ((arg1)->prevICode);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_pdbSecondaryStructureSheet(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureSheet *result = 0 ;
+ struct pdbSecondaryStructureSheet *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (pdbSecondaryStructureSheet *)calloc(1, sizeof(pdbSecondaryStructureSheet));
+ result = (struct pdbSecondaryStructureSheet *)calloc(1, sizeof(struct pdbSecondaryStructureSheet));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_pdbSecondaryStructureSheet(pdbSecondaryStructureSheet *arg1) {
+free_pdbSecondaryStructureSheet(struct pdbSecondaryStructureSheet *arg1) {
free((char *) arg1);
}
-swig_class SwigClassPdbSecondaryStructureTurn;
+static swig_class SwigClassPdbSecondaryStructureTurn;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_serNum_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","serNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","serNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","serNum", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_serNum_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","serNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","serNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
result = (int) ((arg1)->serNum);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_turnID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","turnID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","turnID", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","turnID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_turnID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","turnID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","turnID", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
result = (char *) ((arg1)->turnID);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_initResName_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","initResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","initResName", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_initResName_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","initResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
result = (char *) ((arg1)->initResName);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_initChainID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","initChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initChainID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_initChainID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","initChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
result = (char) ((arg1)->initChainID);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_initSeqNum_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","initSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","initSeqNum", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_initSeqNum_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","initSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
result = (int) ((arg1)->initSeqNum);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_initICode_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","initICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initICode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_initICode_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","initICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","initICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
result = (char) ((arg1)->initICode);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_endResName_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","endResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","endResName", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_endResName_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","endResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
result = (char *) ((arg1)->endResName);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_endChainID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","endChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endChainID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_endChainID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","endChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
result = (char) ((arg1)->endChainID);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_endSeqNum_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","endSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","endSeqNum", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_endSeqNum_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","endSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
result = (int) ((arg1)->endSeqNum);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_endICode_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","endICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endICode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_endICode_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","endICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","endICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
result = (char) ((arg1)->endICode);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_comment_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","comment", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","comment", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","comment", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureTurn_comment_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *arg1 = (pdbSecondaryStructureTurn *) 0 ;
+ struct pdbSecondaryStructureTurn *arg1 = (struct pdbSecondaryStructureTurn *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureTurn, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureTurn *","comment", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureTurn *","comment", 1, self ));
}
- arg1 = (pdbSecondaryStructureTurn *)(argp1);
+ arg1 = (struct pdbSecondaryStructureTurn *)(argp1);
result = (char *) ((arg1)->comment);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_new_pdbSecondaryStructureTurn(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureTurn *result = 0 ;
+ struct pdbSecondaryStructureTurn *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (pdbSecondaryStructureTurn *)calloc(1, sizeof(pdbSecondaryStructureTurn));
+ result = (struct pdbSecondaryStructureTurn *)calloc(1, sizeof(struct pdbSecondaryStructureTurn));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_pdbSecondaryStructureTurn(pdbSecondaryStructureTurn *arg1) {
+free_pdbSecondaryStructureTurn(struct pdbSecondaryStructureTurn *arg1) {
free((char *) arg1);
}
-swig_class SwigClassPdbSecondaryStructureNo;
+static swig_class SwigClassPdbSecondaryStructureNo;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_serNum_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","serNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","serNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","serNum", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_serNum_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","serNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","serNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
result = (int) ((arg1)->serNum);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_noID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","noID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","noID", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","noID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_noID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","noID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","noID", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
result = (char *) ((arg1)->noID);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_initResName_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","initResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","initResName", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_initResName_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","initResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
result = (char *) ((arg1)->initResName);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_initChainID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","initChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initChainID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_initChainID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","initChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
result = (char) ((arg1)->initChainID);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_initSeqNum_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","initSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","initSeqNum", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_initSeqNum_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","initSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
result = (int) ((arg1)->initSeqNum);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_initICode_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","initICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","initICode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_initICode_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","initICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","initICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
result = (char) ((arg1)->initICode);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_endResName_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","endResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","endResName", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_endResName_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endResName", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","endResName", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
result = (char *) ((arg1)->endResName);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_endChainID_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","endChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endChainID", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_endChainID_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endChainID", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","endChainID", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
result = (char) ((arg1)->endChainID);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_endSeqNum_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","endSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","endSeqNum", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_endSeqNum_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endSeqNum", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","endSeqNum", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
result = (int) ((arg1)->endSeqNum);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_endICode_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
char arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","endICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
ecode2 = SWIG_AsVal_char(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "char","endICode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_endICode_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","endICode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","endICode", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
result = (char) ((arg1)->endICode);
vresult = SWIG_From_char((char)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_comment_set(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","comment", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","comment", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","comment", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbSecondaryStructureNo_comment_get(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *arg1 = (pdbSecondaryStructureNo *) 0 ;
+ struct pdbSecondaryStructureNo *arg1 = (struct pdbSecondaryStructureNo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbSecondaryStructureNo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbSecondaryStructureNo *","comment", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbSecondaryStructureNo *","comment", 1, self ));
}
- arg1 = (pdbSecondaryStructureNo *)(argp1);
+ arg1 = (struct pdbSecondaryStructureNo *)(argp1);
result = (char *) ((arg1)->comment);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_new_pdbSecondaryStructureNo(int argc, VALUE *argv, VALUE self) {
- pdbSecondaryStructureNo *result = 0 ;
+ struct pdbSecondaryStructureNo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (pdbSecondaryStructureNo *)calloc(1, sizeof(pdbSecondaryStructureNo));
+ result = (struct pdbSecondaryStructureNo *)calloc(1, sizeof(struct pdbSecondaryStructureNo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_pdbSecondaryStructureNo(pdbSecondaryStructureNo *arg1) {
+free_pdbSecondaryStructureNo(struct pdbSecondaryStructureNo *arg1) {
free((char *) arg1);
}
-swig_class SwigClassPdbFileSecondaryStructureRecord;
+static swig_class SwigClassPdbFileSecondaryStructureRecord;
SWIGINTERN VALUE
_wrap_pdbFileSecondaryStructureRecord_mode_set(int argc, VALUE *argv, VALUE self) {
free((char *) arg1);
}
-swig_class SwigClassPdbFileSecondaryStructure;
+static swig_class SwigClassPdbFileSecondaryStructure;
SWIGINTERN VALUE
_wrap_pdbFileSecondaryStructure_nSecondaryStructure_set(int argc, VALUE *argv, VALUE self) {
- pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
+ struct pdbFileSecondaryStructure *arg1 = (struct pdbFileSecondaryStructure *) 0 ;
int arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","nSecondaryStructure", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructure *","nSecondaryStructure", 1, self ));
}
- arg1 = (pdbFileSecondaryStructure *)(argp1);
+ arg1 = (struct pdbFileSecondaryStructure *)(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","nSecondaryStructure", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbFileSecondaryStructure_nSecondaryStructure_get(int argc, VALUE *argv, VALUE self) {
- pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
+ struct pdbFileSecondaryStructure *arg1 = (struct pdbFileSecondaryStructure *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","nSecondaryStructure", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructure *","nSecondaryStructure", 1, self ));
}
- arg1 = (pdbFileSecondaryStructure *)(argp1);
+ arg1 = (struct pdbFileSecondaryStructure *)(argp1);
result = (int) ((arg1)->nSecondaryStructure);
vresult = SWIG_From_int((int)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbFileSecondaryStructure_top_set(int argc, VALUE *argv, VALUE self) {
- pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
+ struct pdbFileSecondaryStructure *arg1 = (struct pdbFileSecondaryStructure *) 0 ;
pdbFileSecondaryStructureRecord *arg2 = (pdbFileSecondaryStructureRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","top", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructure *","top", 1, self ));
}
- arg1 = (pdbFileSecondaryStructure *)(argp1);
+ arg1 = (struct pdbFileSecondaryStructure *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbFileSecondaryStructureRecord, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructureRecord *","top", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbFileSecondaryStructure_top_get(int argc, VALUE *argv, VALUE self) {
- pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
+ struct pdbFileSecondaryStructure *arg1 = (struct pdbFileSecondaryStructure *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
pdbFileSecondaryStructureRecord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","top", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructure *","top", 1, self ));
}
- arg1 = (pdbFileSecondaryStructure *)(argp1);
+ arg1 = (struct pdbFileSecondaryStructure *)(argp1);
result = (pdbFileSecondaryStructureRecord *) ((arg1)->top);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbFileSecondaryStructure_SecondaryStructure_set(int argc, VALUE *argv, VALUE self) {
- pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
+ struct pdbFileSecondaryStructure *arg1 = (struct pdbFileSecondaryStructure *) 0 ;
pdbFileSecondaryStructureRecord *arg2 = (pdbFileSecondaryStructureRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","SecondaryStructure", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructure *","SecondaryStructure", 1, self ));
}
- arg1 = (pdbFileSecondaryStructure *)(argp1);
+ arg1 = (struct pdbFileSecondaryStructure *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbFileSecondaryStructureRecord, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructureRecord *","SecondaryStructure", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbFileSecondaryStructure_SecondaryStructure_get(int argc, VALUE *argv, VALUE self) {
- pdbFileSecondaryStructure *arg1 = (pdbFileSecondaryStructure *) 0 ;
+ struct pdbFileSecondaryStructure *arg1 = (struct pdbFileSecondaryStructure *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
pdbFileSecondaryStructureRecord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFileSecondaryStructure, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","SecondaryStructure", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFileSecondaryStructure *","SecondaryStructure", 1, self ));
}
- arg1 = (pdbFileSecondaryStructure *)(argp1);
+ arg1 = (struct pdbFileSecondaryStructure *)(argp1);
result = (pdbFileSecondaryStructureRecord *) ((arg1)->SecondaryStructure);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructureRecord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_pdbFileSecondaryStructure(int argc, VALUE *argv, VALUE self) {
- pdbFileSecondaryStructure *result = 0 ;
+ struct pdbFileSecondaryStructure *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (pdbFileSecondaryStructure *)calloc(1, sizeof(pdbFileSecondaryStructure));
+ result = (struct pdbFileSecondaryStructure *)calloc(1, sizeof(struct pdbFileSecondaryStructure));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_pdbFileSecondaryStructure(pdbFileSecondaryStructure *arg1) {
+free_pdbFileSecondaryStructure(struct pdbFileSecondaryStructure *arg1) {
free((char *) arg1);
}
-swig_class SwigClassPdbRecord;
+static swig_class SwigClassPdbRecord;
SWIGINTERN VALUE
_wrap_pdbRecord_FullRecord_set(int argc, VALUE *argv, VALUE self) {
free((char *) arg1);
}
-swig_class SwigClassPdbFile;
+static swig_class SwigClassPdbFile;
SWIGINTERN VALUE
_wrap_pdbFile_top_set(int argc, VALUE *argv, VALUE self) {
- pdbFile *arg1 = (pdbFile *) 0 ;
+ struct pdbFile *arg1 = (struct pdbFile *) 0 ;
pdbRecord *arg2 = (pdbRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","top", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFile *","top", 1, self ));
}
- arg1 = (pdbFile *)(argp1);
+ arg1 = (struct pdbFile *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbRecord, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbRecord *","top", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbFile_top_get(int argc, VALUE *argv, VALUE self) {
- pdbFile *arg1 = (pdbFile *) 0 ;
+ struct pdbFile *arg1 = (struct pdbFile *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
pdbRecord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","top", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFile *","top", 1, self ));
}
- arg1 = (pdbFile *)(argp1);
+ arg1 = (struct pdbFile *)(argp1);
result = (pdbRecord *) ((arg1)->top);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbFile_PDB_set(int argc, VALUE *argv, VALUE self) {
- pdbFile *arg1 = (pdbFile *) 0 ;
+ struct pdbFile *arg1 = (struct pdbFile *) 0 ;
pdbRecord *arg2 = (pdbRecord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","PDB", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFile *","PDB", 1, self ));
}
- arg1 = (pdbFile *)(argp1);
+ arg1 = (struct pdbFile *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbRecord, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbRecord *","PDB", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbFile_PDB_get(int argc, VALUE *argv, VALUE self) {
- pdbFile *arg1 = (pdbFile *) 0 ;
+ struct pdbFile *arg1 = (struct pdbFile *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
pdbRecord *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","PDB", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFile *","PDB", 1, self ));
}
- arg1 = (pdbFile *)(argp1);
+ arg1 = (struct pdbFile *)(argp1);
result = (pdbRecord *) ((arg1)->PDB);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbRecord, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbFile_nAtom_set(int argc, VALUE *argv, VALUE self) {
- pdbFile *arg1 = (pdbFile *) 0 ;
+ struct pdbFile *arg1 = (struct pdbFile *) 0 ;
pdbFileParaTypeInteger arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","nAtom", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFile *","nAtom", 1, self ));
}
- arg1 = (pdbFile *)(argp1);
+ arg1 = (struct pdbFile *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "pdbFileParaTypeInteger","nAtom", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbFile_nAtom_get(int argc, VALUE *argv, VALUE self) {
- pdbFile *arg1 = (pdbFile *) 0 ;
+ struct pdbFile *arg1 = (struct pdbFile *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
pdbFileParaTypeInteger result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","nAtom", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFile *","nAtom", 1, self ));
}
- arg1 = (pdbFile *)(argp1);
+ arg1 = (struct pdbFile *)(argp1);
result = (pdbFileParaTypeInteger) ((arg1)->nAtom);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_pdbFile_second_set(int argc, VALUE *argv, VALUE self) {
- pdbFile *arg1 = (pdbFile *) 0 ;
+ struct pdbFile *arg1 = (struct pdbFile *) 0 ;
pdbFileSecondaryStructure *arg2 = (pdbFileSecondaryStructure *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","second", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFile *","second", 1, self ));
}
- arg1 = (pdbFile *)(argp1);
+ arg1 = (struct pdbFile *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbFileSecondaryStructure, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbFileSecondaryStructure *","second", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_pdbFile_second_get(int argc, VALUE *argv, VALUE self) {
- pdbFile *arg1 = (pdbFile *) 0 ;
+ struct pdbFile *arg1 = (struct pdbFile *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
pdbFileSecondaryStructure *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbFile, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbFile *","second", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbFile *","second", 1, self ));
}
- arg1 = (pdbFile *)(argp1);
+ arg1 = (struct pdbFile *)(argp1);
result = (pdbFileSecondaryStructure *)& ((arg1)->second);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbFileSecondaryStructure, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_pdbFile(int argc, VALUE *argv, VALUE self) {
- pdbFile *result = 0 ;
+ struct pdbFile *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (pdbFile *)calloc(1, sizeof(pdbFile));
+ result = (struct pdbFile *)calloc(1, sizeof(struct pdbFile));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_pdbFile(pdbFile *arg1) {
+free_pdbFile(struct pdbFile *arg1) {
free((char *) arg1);
}
}
-swig_class SwigClassMolvieInfo;
+static swig_class SwigClassMolvieInfo;
SWIGINTERN VALUE
_wrap_molvieInfo_flagRedirect_set(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagRedirect", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","flagRedirect", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","flagRedirect", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_molvieInfo_flagRedirect_get(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagRedirect", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","flagRedirect", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
result = (long) ((arg1)->flagRedirect);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_molvieInfo_flagIn_set(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagIn", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","flagIn", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","flagIn", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_molvieInfo_flagIn_get(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagIn", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","flagIn", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
result = (long) ((arg1)->flagIn);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_molvieInfo_In_set(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","In", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","In", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","In", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_molvieInfo_In_get(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","In", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","In", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
result = (char *) ((arg1)->In);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_molvieInfo_fptIn_set(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
FILE *arg2 = (FILE *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","fptIn", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","fptIn", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FILE, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FILE *","fptIn", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_molvieInfo_fptIn_get(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FILE *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","fptIn", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","fptIn", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
result = (FILE *) ((arg1)->fptIn);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_molvieInfo_flagOut_set(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagOut", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","flagOut", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","flagOut", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_molvieInfo_flagOut_get(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagOut", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","flagOut", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
result = (long) ((arg1)->flagOut);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_molvieInfo_Out_set(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","Out", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","Out", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","Out", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_molvieInfo_Out_get(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","Out", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","Out", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
result = (char *) ((arg1)->Out);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_molvieInfo_fptOut_set(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
FILE *arg2 = (FILE *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","fptOut", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","fptOut", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FILE, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FILE *","fptOut", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_molvieInfo_fptOut_get(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FILE *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","fptOut", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","fptOut", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
result = (FILE *) ((arg1)->fptOut);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_molvieInfo_flagconfigFile_set(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagconfigFile", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","flagconfigFile", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","flagconfigFile", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_molvieInfo_flagconfigFile_get(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagconfigFile", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","flagconfigFile", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
result = (long) ((arg1)->flagconfigFile);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_molvieInfo_configFile_set(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
char *arg2 = (char *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","configFile", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","configFile", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","configFile", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_molvieInfo_configFile_get(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
char *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","configFile", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","configFile", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
result = (char *) ((arg1)->configFile);
vresult = SWIG_FromCharPtr((const char *)result);
return vresult;
SWIGINTERN VALUE
_wrap_molvieInfo_fptconfigFile_set(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
FILE *arg2 = (FILE *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","fptconfigFile", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","fptconfigFile", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_FILE, SWIG_POINTER_DISOWN | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FILE *","fptconfigFile", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_molvieInfo_fptconfigFile_get(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FILE *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","fptconfigFile", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","fptconfigFile", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
result = (FILE *) ((arg1)->fptconfigFile);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FILE, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_molvieInfo_flagmode_set(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagmode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","flagmode", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","flagmode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_molvieInfo_flagmode_get(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","flagmode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","flagmode", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
result = (long) ((arg1)->flagmode);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_molvieInfo_mode_set(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
long arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","mode", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
ecode2 = SWIG_AsVal_long(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "long","mode", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_molvieInfo_mode_get(int argc, VALUE *argv, VALUE self) {
- molvieInfo *arg1 = (molvieInfo *) 0 ;
+ struct molvieInfo *arg1 = (struct molvieInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
long result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_molvieInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "molvieInfo *","mode", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct molvieInfo *","mode", 1, self ));
}
- arg1 = (molvieInfo *)(argp1);
+ arg1 = (struct molvieInfo *)(argp1);
result = (long) ((arg1)->mode);
vresult = SWIG_From_long((long)(result));
return vresult;
SWIGINTERN VALUE
_wrap_new_molvieInfo(int argc, VALUE *argv, VALUE self) {
- molvieInfo *result = 0 ;
+ struct molvieInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (molvieInfo *)calloc(1, sizeof(molvieInfo));
+ result = (struct molvieInfo *)calloc(1, sizeof(struct molvieInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_molvieInfo(molvieInfo *arg1) {
+free_molvieInfo(struct molvieInfo *arg1) {
free((char *) arg1);
}
-swig_class SwigClassCameraInfo;
+static swig_class SwigClassCameraInfo;
SWIGINTERN VALUE
_wrap_cameraInfo_Fovy_set(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
GLdouble arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Fovy", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","Fovy", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLdouble, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_cameraInfo_Fovy_get(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLdouble result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Fovy", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","Fovy", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
result = ((arg1)->Fovy);
vresult = SWIG_NewPointerObj((GLdouble *)memcpy((GLdouble *)malloc(sizeof(GLdouble)),&result,sizeof(GLdouble)), SWIGTYPE_p_GLdouble, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_cameraInfo_Aspect_set(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
GLdouble arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Aspect", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","Aspect", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLdouble, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_cameraInfo_Aspect_get(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLdouble result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Aspect", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","Aspect", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
result = ((arg1)->Aspect);
vresult = SWIG_NewPointerObj((GLdouble *)memcpy((GLdouble *)malloc(sizeof(GLdouble)),&result,sizeof(GLdouble)), SWIGTYPE_p_GLdouble, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_cameraInfo_ClipNear_set(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
GLdouble arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","ClipNear", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","ClipNear", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLdouble, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_cameraInfo_ClipNear_get(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLdouble result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","ClipNear", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","ClipNear", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
result = ((arg1)->ClipNear);
vresult = SWIG_NewPointerObj((GLdouble *)memcpy((GLdouble *)malloc(sizeof(GLdouble)),&result,sizeof(GLdouble)), SWIGTYPE_p_GLdouble, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_cameraInfo_ClipFar_set(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
GLdouble arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","ClipFar", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","ClipFar", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLdouble, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_cameraInfo_ClipFar_get(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLdouble result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","ClipFar", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","ClipFar", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
result = ((arg1)->ClipFar);
vresult = SWIG_NewPointerObj((GLdouble *)memcpy((GLdouble *)malloc(sizeof(GLdouble)),&result,sizeof(GLdouble)), SWIGTYPE_p_GLdouble, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_cameraInfo_Eye_set(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
GLdouble *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Eye", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","Eye", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_GLdouble, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLdouble [3]","Eye", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_cameraInfo_Eye_get(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLdouble *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Eye", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","Eye", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
result = (GLdouble *)(GLdouble *) ((arg1)->Eye);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLdouble, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_cameraInfo_Centre_set(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
GLdouble *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Centre", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","Centre", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_GLdouble, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLdouble [3]","Centre", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_cameraInfo_Centre_get(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLdouble *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Centre", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","Centre", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
result = (GLdouble *)(GLdouble *) ((arg1)->Centre);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLdouble, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_cameraInfo_Up_set(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
GLdouble *arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Up", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","Up", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_GLdouble, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GLdouble [3]","Up", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_cameraInfo_Up_get(int argc, VALUE *argv, VALUE self) {
- cameraInfo *arg1 = (cameraInfo *) 0 ;
+ struct cameraInfo *arg1 = (struct cameraInfo *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLdouble *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_cameraInfo, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "cameraInfo *","Up", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct cameraInfo *","Up", 1, self ));
}
- arg1 = (cameraInfo *)(argp1);
+ arg1 = (struct cameraInfo *)(argp1);
result = (GLdouble *)(GLdouble *) ((arg1)->Up);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_GLdouble, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_cameraInfo(int argc, VALUE *argv, VALUE self) {
- cameraInfo *result = 0 ;
+ struct cameraInfo *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (cameraInfo *)calloc(1, sizeof(cameraInfo));
+ result = (struct cameraInfo *)calloc(1, sizeof(struct cameraInfo));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_cameraInfo(cameraInfo *arg1) {
+free_cameraInfo(struct cameraInfo *arg1) {
free((char *) arg1);
}
-swig_class SwigClassCoord;
+static swig_class SwigClassCoord;
SWIGINTERN VALUE
_wrap_Coord_x_set(int argc, VALUE *argv, VALUE self) {
- Coord *arg1 = (Coord *) 0 ;
+ struct Coord *arg1 = (struct Coord *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Coord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Coord *","x", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct Coord *","x", 1, self ));
}
- arg1 = (Coord *)(argp1);
+ arg1 = (struct Coord *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_Coord_x_get(int argc, VALUE *argv, VALUE self) {
- Coord *arg1 = (Coord *) 0 ;
+ struct Coord *arg1 = (struct Coord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Coord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Coord *","x", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct Coord *","x", 1, self ));
}
- arg1 = (Coord *)(argp1);
+ arg1 = (struct Coord *)(argp1);
result = ((arg1)->x);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_Coord_y_set(int argc, VALUE *argv, VALUE self) {
- Coord *arg1 = (Coord *) 0 ;
+ struct Coord *arg1 = (struct Coord *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Coord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Coord *","y", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct Coord *","y", 1, self ));
}
- arg1 = (Coord *)(argp1);
+ arg1 = (struct Coord *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_Coord_y_get(int argc, VALUE *argv, VALUE self) {
- Coord *arg1 = (Coord *) 0 ;
+ struct Coord *arg1 = (struct Coord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Coord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Coord *","y", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct Coord *","y", 1, self ));
}
- arg1 = (Coord *)(argp1);
+ arg1 = (struct Coord *)(argp1);
result = ((arg1)->y);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_Coord_z_set(int argc, VALUE *argv, VALUE self) {
- Coord *arg1 = (Coord *) 0 ;
+ struct Coord *arg1 = (struct Coord *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Coord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Coord *","z", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct Coord *","z", 1, self ));
}
- arg1 = (Coord *)(argp1);
+ arg1 = (struct Coord *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_Coord_z_get(int argc, VALUE *argv, VALUE self) {
- Coord *arg1 = (Coord *) 0 ;
+ struct Coord *arg1 = (struct Coord *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_Coord, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Coord *","z", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct Coord *","z", 1, self ));
}
- arg1 = (Coord *)(argp1);
+ arg1 = (struct Coord *)(argp1);
result = ((arg1)->z);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_Coord(int argc, VALUE *argv, VALUE self) {
- Coord *result = 0 ;
+ struct Coord *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (Coord *)calloc(1, sizeof(Coord));
+ result = (struct Coord *)calloc(1, sizeof(struct Coord));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_Coord(Coord *arg1) {
+free_Coord(struct Coord *arg1) {
free((char *) arg1);
}
}
-swig_class SwigClassPdbCenter;
+static swig_class SwigClassPdbCenter;
SWIGINTERN VALUE
_wrap_pdbCenter_xCenter_set(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xCenter", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","xCenter", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_pdbCenter_xCenter_get(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xCenter", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","xCenter", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
result = ((arg1)->xCenter);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbCenter_yCenter_set(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yCenter", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","yCenter", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_pdbCenter_yCenter_get(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yCenter", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","yCenter", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
result = ((arg1)->yCenter);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbCenter_zCenter_set(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zCenter", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","zCenter", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_pdbCenter_zCenter_get(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zCenter", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","zCenter", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
result = ((arg1)->zCenter);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbCenter_xMax_set(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","xMax", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_pdbCenter_xMax_get(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","xMax", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
result = ((arg1)->xMax);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbCenter_xMin_set(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","xMin", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_pdbCenter_xMin_get(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","xMin", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
result = ((arg1)->xMin);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbCenter_xWidth_set(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xWidth", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","xWidth", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_pdbCenter_xWidth_get(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","xWidth", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","xWidth", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
result = ((arg1)->xWidth);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbCenter_yMax_set(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","yMax", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_pdbCenter_yMax_get(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","yMax", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
result = ((arg1)->yMax);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbCenter_yMin_set(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","yMin", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_pdbCenter_yMin_get(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","yMin", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
result = ((arg1)->yMin);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbCenter_yWidth_set(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yWidth", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","yWidth", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_pdbCenter_yWidth_get(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","yWidth", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","yWidth", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
result = ((arg1)->yWidth);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbCenter_zMax_set(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","zMax", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_pdbCenter_zMax_get(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zMax", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","zMax", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
result = ((arg1)->zMax);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbCenter_zMin_set(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","zMin", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_pdbCenter_zMin_get(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zMin", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","zMin", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
result = ((arg1)->zMin);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_pdbCenter_zWidth_set(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zWidth", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","zWidth", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_pdbCenter_zWidth_get(int argc, VALUE *argv, VALUE self) {
- pdbCenter *arg1 = (pdbCenter *) 0 ;
+ struct pdbCenter *arg1 = (struct pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "pdbCenter *","zWidth", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct pdbCenter *","zWidth", 1, self ));
}
- arg1 = (pdbCenter *)(argp1);
+ arg1 = (struct pdbCenter *)(argp1);
result = ((arg1)->zWidth);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_pdbCenter(int argc, VALUE *argv, VALUE self) {
- pdbCenter *result = 0 ;
+ struct pdbCenter *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (pdbCenter *)calloc(1, sizeof(pdbCenter));
+ result = (struct pdbCenter *)calloc(1, sizeof(struct pdbCenter));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_pdbCenter(pdbCenter *arg1) {
+free_pdbCenter(struct pdbCenter *arg1) {
free((char *) arg1);
}
-swig_class SwigClassElementSwitch;
+static swig_class SwigClassElementSwitch;
SWIGINTERN VALUE
_wrap_elementSwitch_elementC_set(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
GLint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementC", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementC", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_elementSwitch_elementC_get(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLint result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementC", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementC", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
result = ((arg1)->elementC);
vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_elementSwitch_elementO_set(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
GLint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementO", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementO", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_elementSwitch_elementO_get(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLint result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementO", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementO", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
result = ((arg1)->elementO);
vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_elementSwitch_elementN_set(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
GLint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementN", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_elementSwitch_elementN_get(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLint result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementN", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementN", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
result = ((arg1)->elementN);
vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_elementSwitch_elementS_set(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
GLint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementS", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_elementSwitch_elementS_get(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLint result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementS", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementS", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
result = ((arg1)->elementS);
vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_elementSwitch_elementP_set(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
GLint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementP", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementP", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_elementSwitch_elementP_get(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLint result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementP", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementP", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
result = ((arg1)->elementP);
vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_elementSwitch_elementH_set(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
GLint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementH", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementH", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_elementSwitch_elementH_get(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLint result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementH", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementH", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
result = ((arg1)->elementH);
vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_elementSwitch_elementFE_set(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
GLint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementFE", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementFE", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_elementSwitch_elementFE_get(int argc, VALUE *argv, VALUE self) {
- elementSwitch *arg1 = (elementSwitch *) 0 ;
+ struct elementSwitch *arg1 = (struct elementSwitch *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLint result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "elementSwitch *","elementFE", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct elementSwitch *","elementFE", 1, self ));
}
- arg1 = (elementSwitch *)(argp1);
+ arg1 = (struct elementSwitch *)(argp1);
result = ((arg1)->elementFE);
vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_elementSwitch(int argc, VALUE *argv, VALUE self) {
- elementSwitch *result = 0 ;
+ struct elementSwitch *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (elementSwitch *)calloc(1, sizeof(elementSwitch));
+ result = (struct elementSwitch *)calloc(1, sizeof(struct elementSwitch));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_elementSwitch(elementSwitch *arg1) {
+free_elementSwitch(struct elementSwitch *arg1) {
free((char *) arg1);
}
-swig_class SwigClassProteinStatus;
+static swig_class SwigClassProteinStatus;
SWIGINTERN VALUE
_wrap_ProteinStatus___pdbCenter_set(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
pdbCenter *arg2 = (pdbCenter *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","__pdbCenter", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","__pdbCenter", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_pdbCenter, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "pdbCenter *","__pdbCenter", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_ProteinStatus___pdbCenter_get(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
pdbCenter *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","__pdbCenter", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","__pdbCenter", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
result = (pdbCenter *)& ((arg1)->__pdbCenter);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pdbCenter, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_ProteinStatus___elementSwitch_set(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
elementSwitch *arg2 = (elementSwitch *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","__elementSwitch", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","__elementSwitch", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_elementSwitch, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "elementSwitch *","__elementSwitch", 2, argv[0] ));
SWIGINTERN VALUE
_wrap_ProteinStatus___elementSwitch_get(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
elementSwitch *result = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","__elementSwitch", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","__elementSwitch", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
result = (elementSwitch *)& ((arg1)->__elementSwitch);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_elementSwitch, 0 | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_ProteinStatus_spin_x_set(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
GLint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","spin_x", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","spin_x", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_ProteinStatus_spin_x_get(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLint result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","spin_x", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","spin_x", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
result = ((arg1)->spin_x);
vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_ProteinStatus_spin_y_set(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
GLint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","spin_y", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","spin_y", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_ProteinStatus_spin_y_get(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLint result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","spin_y", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","spin_y", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
result = ((arg1)->spin_y);
vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_ProteinStatus_spin_z_set(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
GLint arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","spin_z", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","spin_z", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLint, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_ProteinStatus_spin_z_get(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLint result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","spin_z", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","spin_z", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
result = ((arg1)->spin_z);
vresult = SWIG_NewPointerObj((GLint *)memcpy((GLint *)malloc(sizeof(GLint)),&result,sizeof(GLint)), SWIGTYPE_p_GLint, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_ProteinStatus_move_x_set(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","move_x", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","move_x", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_ProteinStatus_move_x_get(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","move_x", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","move_x", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
result = ((arg1)->move_x);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_ProteinStatus_move_y_set(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
GLfloat arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","move_y", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","move_y", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
{
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_GLfloat, 0 );
if (!SWIG_IsOK(res2)) {
SWIGINTERN VALUE
_wrap_ProteinStatus_move_y_get(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *arg1 = (ProteinStatus *) 0 ;
+ struct ProteinStatus *arg1 = (struct ProteinStatus *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
GLfloat result;
}
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_ProteinStatus, 0 | 0 );
if (!SWIG_IsOK(res1)) {
- SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "ProteinStatus *","move_y", 1, self ));
+ SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "struct ProteinStatus *","move_y", 1, self ));
}
- arg1 = (ProteinStatus *)(argp1);
+ arg1 = (struct ProteinStatus *)(argp1);
result = ((arg1)->move_y);
vresult = SWIG_NewPointerObj((GLfloat *)memcpy((GLfloat *)malloc(sizeof(GLfloat)),&result,sizeof(GLfloat)), SWIGTYPE_p_GLfloat, SWIG_POINTER_OWN | 0 );
return vresult;
SWIGINTERN VALUE
_wrap_new_ProteinStatus(int argc, VALUE *argv, VALUE self) {
- ProteinStatus *result = 0 ;
+ struct ProteinStatus *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
- result = (ProteinStatus *)calloc(1, sizeof(ProteinStatus));
+ result = (struct ProteinStatus *)calloc(1, sizeof(struct ProteinStatus));
DATA_PTR(self) = result;
return self;
fail:
SWIGINTERN void
-free_ProteinStatus(ProteinStatus *arg1) {
+free_ProteinStatus(struct ProteinStatus *arg1) {
free((char *) arg1);
}
swig_module_info *module_head, *iter;
int found, init;
- clientdata = clientdata;
-
/* check to see if the circular list has been setup, if not, set it up */
if (swig_module.next==0) {
/* Initialize the swig_module */