| 3843 | SWIGINTERN PyObject *_wrap_dbr_sts_int_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 3844 | PyObject *resultobj = 0; |
| 3845 | struct dbr_sts_int *arg1 = (struct dbr_sts_int *) 0 ; |
| 3846 | dbr_short_t arg2 ; |
| 3847 | void *argp1 = 0 ; |
| 3848 | int res1 = 0 ; |
| 3849 | void *argp2 ; |
| 3850 | int res2 = 0 ; |
| 3851 | PyObject * obj0 = 0 ; |
| 3852 | PyObject * obj1 = 0 ; |
| 3853 | |
| 3854 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_int_status_set",&obj0,&obj1)) SWIG_fail; |
| 3855 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_int, 0 | 0 ); |
| 3856 | if (!SWIG_IsOK(res1)) { |
| 3857 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_int_status_set" "', argument " "1"" of type '" "struct dbr_sts_int *""'"); |
| 3858 | } |
| 3859 | arg1 = (struct dbr_sts_int *)(argp1); |
| 3860 | { |
| 3861 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 3862 | if (!SWIG_IsOK(res2)) { |
| 3863 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_int_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 3864 | } |
| 3865 | if (!argp2) { |
| 3866 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_int_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 3867 | } else { |
| 3868 | arg2 = *((dbr_short_t *)(argp2)); |
| 3869 | } |
| 3870 | } |
| 3871 | if (arg1) (arg1)->status = arg2; |
| 3872 | |
| 3873 | resultobj = SWIG_Py_Void(); |
| 3874 | return resultobj; |
| 3875 | fail: |
| 3876 | return NULL; |
| 3877 | } |
| 3878 | |
| 3879 | |
| 3880 | SWIGINTERN PyObject *_wrap_dbr_sts_int_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 3881 | PyObject *resultobj = 0; |
| 3882 | struct dbr_sts_int *arg1 = (struct dbr_sts_int *) 0 ; |
| 3883 | dbr_short_t result; |
| 3884 | void *argp1 = 0 ; |
| 3885 | int res1 = 0 ; |
| 3886 | PyObject * obj0 = 0 ; |
| 3887 | |
| 3888 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_int_status_get",&obj0)) SWIG_fail; |
| 3889 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_int, 0 | 0 ); |
| 3890 | if (!SWIG_IsOK(res1)) { |
| 3891 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_int_status_get" "', argument " "1"" of type '" "struct dbr_sts_int *""'"); |
| 3892 | } |
| 3893 | arg1 = (struct dbr_sts_int *)(argp1); |
| 3894 | result = ((arg1)->status); |
| 3895 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 3896 | return resultobj; |
| 3897 | fail: |
| 3898 | return NULL; |
| 3899 | } |
| 3900 | |
| 3901 | |
| 3902 | SWIGINTERN PyObject *_wrap_dbr_sts_int_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 3903 | PyObject *resultobj = 0; |
| 3904 | struct dbr_sts_int *arg1 = (struct dbr_sts_int *) 0 ; |
| 3905 | dbr_short_t arg2 ; |
| 3906 | void *argp1 = 0 ; |
| 3907 | int res1 = 0 ; |
| 3908 | void *argp2 ; |
| 3909 | int res2 = 0 ; |
| 3910 | PyObject * obj0 = 0 ; |
| 3911 | PyObject * obj1 = 0 ; |
| 3912 | |
| 3913 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_int_severity_set",&obj0,&obj1)) SWIG_fail; |
| 3914 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_int, 0 | 0 ); |
| 3915 | if (!SWIG_IsOK(res1)) { |
| 3916 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_int_severity_set" "', argument " "1"" of type '" "struct dbr_sts_int *""'"); |
| 3917 | } |
| 3918 | arg1 = (struct dbr_sts_int *)(argp1); |
| 3919 | { |
| 3920 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 3921 | if (!SWIG_IsOK(res2)) { |
| 3922 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_int_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 3923 | } |
| 3924 | if (!argp2) { |
| 3925 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_int_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 3926 | } else { |
| 3927 | arg2 = *((dbr_short_t *)(argp2)); |
| 3928 | } |
| 3929 | } |
| 3930 | if (arg1) (arg1)->severity = arg2; |
| 3931 | |
| 3932 | resultobj = SWIG_Py_Void(); |
| 3933 | return resultobj; |
| 3934 | fail: |
| 3935 | return NULL; |
| 3936 | } |
| 3937 | |
| 3938 | |
| 3939 | SWIGINTERN PyObject *_wrap_dbr_sts_int_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 3940 | PyObject *resultobj = 0; |
| 3941 | struct dbr_sts_int *arg1 = (struct dbr_sts_int *) 0 ; |
| 3942 | dbr_short_t result; |
| 3943 | void *argp1 = 0 ; |
| 3944 | int res1 = 0 ; |
| 3945 | PyObject * obj0 = 0 ; |
| 3946 | |
| 3947 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_int_severity_get",&obj0)) SWIG_fail; |
| 3948 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_int, 0 | 0 ); |
| 3949 | if (!SWIG_IsOK(res1)) { |
| 3950 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_int_severity_get" "', argument " "1"" of type '" "struct dbr_sts_int *""'"); |
| 3951 | } |
| 3952 | arg1 = (struct dbr_sts_int *)(argp1); |
| 3953 | result = ((arg1)->severity); |
| 3954 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 3955 | return resultobj; |
| 3956 | fail: |
| 3957 | return NULL; |
| 3958 | } |
| 3959 | |
| 3960 | |
| 3961 | SWIGINTERN PyObject *_wrap_dbr_sts_int_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 3962 | PyObject *resultobj = 0; |
| 3963 | struct dbr_sts_int *arg1 = (struct dbr_sts_int *) 0 ; |
| 3964 | dbr_short_t arg2 ; |
| 3965 | void *argp1 = 0 ; |
| 3966 | int res1 = 0 ; |
| 3967 | void *argp2 ; |
| 3968 | int res2 = 0 ; |
| 3969 | PyObject * obj0 = 0 ; |
| 3970 | PyObject * obj1 = 0 ; |
| 3971 | |
| 3972 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_int_value_set",&obj0,&obj1)) SWIG_fail; |
| 3973 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_int, 0 | 0 ); |
| 3974 | if (!SWIG_IsOK(res1)) { |
| 3975 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_int_value_set" "', argument " "1"" of type '" "struct dbr_sts_int *""'"); |
| 3976 | } |
| 3977 | arg1 = (struct dbr_sts_int *)(argp1); |
| 3978 | { |
| 3979 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 3980 | if (!SWIG_IsOK(res2)) { |
| 3981 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_int_value_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 3982 | } |
| 3983 | if (!argp2) { |
| 3984 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_int_value_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 3985 | } else { |
| 3986 | arg2 = *((dbr_short_t *)(argp2)); |
| 3987 | } |
| 3988 | } |
| 3989 | if (arg1) (arg1)->value = arg2; |
| 3990 | |
| 3991 | resultobj = SWIG_Py_Void(); |
| 3992 | return resultobj; |
| 3993 | fail: |
| 3994 | return NULL; |
| 3995 | } |
| 3996 | |
| 3997 | |
| 3998 | SWIGINTERN PyObject *_wrap_dbr_sts_int_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 3999 | PyObject *resultobj = 0; |
| 4000 | struct dbr_sts_int *arg1 = (struct dbr_sts_int *) 0 ; |
| 4001 | dbr_short_t result; |
| 4002 | void *argp1 = 0 ; |
| 4003 | int res1 = 0 ; |
| 4004 | PyObject * obj0 = 0 ; |
| 4005 | |
| 4006 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_int_value_get",&obj0)) SWIG_fail; |
| 4007 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_int, 0 | 0 ); |
| 4008 | if (!SWIG_IsOK(res1)) { |
| 4009 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_int_value_get" "', argument " "1"" of type '" "struct dbr_sts_int *""'"); |
| 4010 | } |
| 4011 | arg1 = (struct dbr_sts_int *)(argp1); |
| 4012 | result = ((arg1)->value); |
| 4013 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 4014 | return resultobj; |
| 4015 | fail: |
| 4016 | return NULL; |
| 4017 | } |
| 4018 | |
| 4019 | |
| 4020 | SWIGINTERN PyObject *_wrap_new_dbr_sts_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4021 | PyObject *resultobj = 0; |
| 4022 | struct dbr_sts_int *result = 0 ; |
| 4023 | |
| 4024 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_sts_int")) SWIG_fail; |
| 4025 | result = (struct dbr_sts_int *)(struct dbr_sts_int *) calloc(1, sizeof(struct dbr_sts_int)); |
| 4026 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_sts_int, SWIG_POINTER_NEW | 0 ); |
| 4027 | return resultobj; |
| 4028 | fail: |
| 4029 | return NULL; |
| 4030 | } |
| 4031 | |
| 4032 | |
| 4033 | SWIGINTERN PyObject *_wrap_delete_dbr_sts_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4034 | PyObject *resultobj = 0; |
| 4035 | struct dbr_sts_int *arg1 = (struct dbr_sts_int *) 0 ; |
| 4036 | void *argp1 = 0 ; |
| 4037 | int res1 = 0 ; |
| 4038 | PyObject * obj0 = 0 ; |
| 4039 | |
| 4040 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_sts_int",&obj0)) SWIG_fail; |
| 4041 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_int, SWIG_POINTER_DISOWN | 0 ); |
| 4042 | if (!SWIG_IsOK(res1)) { |
| 4043 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_sts_int" "', argument " "1"" of type '" "struct dbr_sts_int *""'"); |
| 4044 | } |
| 4045 | arg1 = (struct dbr_sts_int *)(argp1); |
| 4046 | free((char *) arg1); |
| 4047 | |
| 4048 | resultobj = SWIG_Py_Void(); |
| 4049 | return resultobj; |
| 4050 | fail: |
| 4051 | return NULL; |
| 4052 | } |
| 4053 | |
| 4054 | |
| 4055 | SWIGINTERN PyObject *dbr_sts_int_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4056 | PyObject *obj; |
| 4057 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 4058 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_sts_int, SWIG_NewClientData(obj)); |
| 4059 | return SWIG_Py_Void(); |
| 4060 | } |
| 4061 | |
| 4062 | SWIGINTERN PyObject *_wrap_dbr_sts_short_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4063 | PyObject *resultobj = 0; |
| 4064 | struct dbr_sts_short *arg1 = (struct dbr_sts_short *) 0 ; |
| 4065 | dbr_short_t arg2 ; |
| 4066 | void *argp1 = 0 ; |
| 4067 | int res1 = 0 ; |
| 4068 | void *argp2 ; |
| 4069 | int res2 = 0 ; |
| 4070 | PyObject * obj0 = 0 ; |
| 4071 | PyObject * obj1 = 0 ; |
| 4072 | |
| 4073 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_short_status_set",&obj0,&obj1)) SWIG_fail; |
| 4074 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_short, 0 | 0 ); |
| 4075 | if (!SWIG_IsOK(res1)) { |
| 4076 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_short_status_set" "', argument " "1"" of type '" "struct dbr_sts_short *""'"); |
| 4077 | } |
| 4078 | arg1 = (struct dbr_sts_short *)(argp1); |
| 4079 | { |
| 4080 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 4081 | if (!SWIG_IsOK(res2)) { |
| 4082 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_short_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4083 | } |
| 4084 | if (!argp2) { |
| 4085 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_short_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4086 | } else { |
| 4087 | arg2 = *((dbr_short_t *)(argp2)); |
| 4088 | } |
| 4089 | } |
| 4090 | if (arg1) (arg1)->status = arg2; |
| 4091 | |
| 4092 | resultobj = SWIG_Py_Void(); |
| 4093 | return resultobj; |
| 4094 | fail: |
| 4095 | return NULL; |
| 4096 | } |
| 4097 | |
| 4098 | |
| 4099 | SWIGINTERN PyObject *_wrap_dbr_sts_short_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4100 | PyObject *resultobj = 0; |
| 4101 | struct dbr_sts_short *arg1 = (struct dbr_sts_short *) 0 ; |
| 4102 | dbr_short_t result; |
| 4103 | void *argp1 = 0 ; |
| 4104 | int res1 = 0 ; |
| 4105 | PyObject * obj0 = 0 ; |
| 4106 | |
| 4107 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_short_status_get",&obj0)) SWIG_fail; |
| 4108 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_short, 0 | 0 ); |
| 4109 | if (!SWIG_IsOK(res1)) { |
| 4110 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_short_status_get" "', argument " "1"" of type '" "struct dbr_sts_short *""'"); |
| 4111 | } |
| 4112 | arg1 = (struct dbr_sts_short *)(argp1); |
| 4113 | result = ((arg1)->status); |
| 4114 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 4115 | return resultobj; |
| 4116 | fail: |
| 4117 | return NULL; |
| 4118 | } |
| 4119 | |
| 4120 | |
| 4121 | SWIGINTERN PyObject *_wrap_dbr_sts_short_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4122 | PyObject *resultobj = 0; |
| 4123 | struct dbr_sts_short *arg1 = (struct dbr_sts_short *) 0 ; |
| 4124 | dbr_short_t arg2 ; |
| 4125 | void *argp1 = 0 ; |
| 4126 | int res1 = 0 ; |
| 4127 | void *argp2 ; |
| 4128 | int res2 = 0 ; |
| 4129 | PyObject * obj0 = 0 ; |
| 4130 | PyObject * obj1 = 0 ; |
| 4131 | |
| 4132 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_short_severity_set",&obj0,&obj1)) SWIG_fail; |
| 4133 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_short, 0 | 0 ); |
| 4134 | if (!SWIG_IsOK(res1)) { |
| 4135 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_short_severity_set" "', argument " "1"" of type '" "struct dbr_sts_short *""'"); |
| 4136 | } |
| 4137 | arg1 = (struct dbr_sts_short *)(argp1); |
| 4138 | { |
| 4139 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 4140 | if (!SWIG_IsOK(res2)) { |
| 4141 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_short_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4142 | } |
| 4143 | if (!argp2) { |
| 4144 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_short_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4145 | } else { |
| 4146 | arg2 = *((dbr_short_t *)(argp2)); |
| 4147 | } |
| 4148 | } |
| 4149 | if (arg1) (arg1)->severity = arg2; |
| 4150 | |
| 4151 | resultobj = SWIG_Py_Void(); |
| 4152 | return resultobj; |
| 4153 | fail: |
| 4154 | return NULL; |
| 4155 | } |
| 4156 | |
| 4157 | |
| 4158 | SWIGINTERN PyObject *_wrap_dbr_sts_short_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4159 | PyObject *resultobj = 0; |
| 4160 | struct dbr_sts_short *arg1 = (struct dbr_sts_short *) 0 ; |
| 4161 | dbr_short_t result; |
| 4162 | void *argp1 = 0 ; |
| 4163 | int res1 = 0 ; |
| 4164 | PyObject * obj0 = 0 ; |
| 4165 | |
| 4166 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_short_severity_get",&obj0)) SWIG_fail; |
| 4167 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_short, 0 | 0 ); |
| 4168 | if (!SWIG_IsOK(res1)) { |
| 4169 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_short_severity_get" "', argument " "1"" of type '" "struct dbr_sts_short *""'"); |
| 4170 | } |
| 4171 | arg1 = (struct dbr_sts_short *)(argp1); |
| 4172 | result = ((arg1)->severity); |
| 4173 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 4174 | return resultobj; |
| 4175 | fail: |
| 4176 | return NULL; |
| 4177 | } |
| 4178 | |
| 4179 | |
| 4180 | SWIGINTERN PyObject *_wrap_dbr_sts_short_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4181 | PyObject *resultobj = 0; |
| 4182 | struct dbr_sts_short *arg1 = (struct dbr_sts_short *) 0 ; |
| 4183 | dbr_short_t arg2 ; |
| 4184 | void *argp1 = 0 ; |
| 4185 | int res1 = 0 ; |
| 4186 | void *argp2 ; |
| 4187 | int res2 = 0 ; |
| 4188 | PyObject * obj0 = 0 ; |
| 4189 | PyObject * obj1 = 0 ; |
| 4190 | |
| 4191 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_short_value_set",&obj0,&obj1)) SWIG_fail; |
| 4192 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_short, 0 | 0 ); |
| 4193 | if (!SWIG_IsOK(res1)) { |
| 4194 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_short_value_set" "', argument " "1"" of type '" "struct dbr_sts_short *""'"); |
| 4195 | } |
| 4196 | arg1 = (struct dbr_sts_short *)(argp1); |
| 4197 | { |
| 4198 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 4199 | if (!SWIG_IsOK(res2)) { |
| 4200 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_short_value_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4201 | } |
| 4202 | if (!argp2) { |
| 4203 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_short_value_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4204 | } else { |
| 4205 | arg2 = *((dbr_short_t *)(argp2)); |
| 4206 | } |
| 4207 | } |
| 4208 | if (arg1) (arg1)->value = arg2; |
| 4209 | |
| 4210 | resultobj = SWIG_Py_Void(); |
| 4211 | return resultobj; |
| 4212 | fail: |
| 4213 | return NULL; |
| 4214 | } |
| 4215 | |
| 4216 | |
| 4217 | SWIGINTERN PyObject *_wrap_dbr_sts_short_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4218 | PyObject *resultobj = 0; |
| 4219 | struct dbr_sts_short *arg1 = (struct dbr_sts_short *) 0 ; |
| 4220 | dbr_short_t result; |
| 4221 | void *argp1 = 0 ; |
| 4222 | int res1 = 0 ; |
| 4223 | PyObject * obj0 = 0 ; |
| 4224 | |
| 4225 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_short_value_get",&obj0)) SWIG_fail; |
| 4226 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_short, 0 | 0 ); |
| 4227 | if (!SWIG_IsOK(res1)) { |
| 4228 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_short_value_get" "', argument " "1"" of type '" "struct dbr_sts_short *""'"); |
| 4229 | } |
| 4230 | arg1 = (struct dbr_sts_short *)(argp1); |
| 4231 | result = ((arg1)->value); |
| 4232 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 4233 | return resultobj; |
| 4234 | fail: |
| 4235 | return NULL; |
| 4236 | } |
| 4237 | |
| 4238 | |
| 4239 | SWIGINTERN PyObject *_wrap_new_dbr_sts_short(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4240 | PyObject *resultobj = 0; |
| 4241 | struct dbr_sts_short *result = 0 ; |
| 4242 | |
| 4243 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_sts_short")) SWIG_fail; |
| 4244 | result = (struct dbr_sts_short *)(struct dbr_sts_short *) calloc(1, sizeof(struct dbr_sts_short)); |
| 4245 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_sts_short, SWIG_POINTER_NEW | 0 ); |
| 4246 | return resultobj; |
| 4247 | fail: |
| 4248 | return NULL; |
| 4249 | } |
| 4250 | |
| 4251 | |
| 4252 | SWIGINTERN PyObject *_wrap_delete_dbr_sts_short(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4253 | PyObject *resultobj = 0; |
| 4254 | struct dbr_sts_short *arg1 = (struct dbr_sts_short *) 0 ; |
| 4255 | void *argp1 = 0 ; |
| 4256 | int res1 = 0 ; |
| 4257 | PyObject * obj0 = 0 ; |
| 4258 | |
| 4259 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_sts_short",&obj0)) SWIG_fail; |
| 4260 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_short, SWIG_POINTER_DISOWN | 0 ); |
| 4261 | if (!SWIG_IsOK(res1)) { |
| 4262 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_sts_short" "', argument " "1"" of type '" "struct dbr_sts_short *""'"); |
| 4263 | } |
| 4264 | arg1 = (struct dbr_sts_short *)(argp1); |
| 4265 | free((char *) arg1); |
| 4266 | |
| 4267 | resultobj = SWIG_Py_Void(); |
| 4268 | return resultobj; |
| 4269 | fail: |
| 4270 | return NULL; |
| 4271 | } |
| 4272 | |
| 4273 | |
| 4274 | SWIGINTERN PyObject *dbr_sts_short_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4275 | PyObject *obj; |
| 4276 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 4277 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_sts_short, SWIG_NewClientData(obj)); |
| 4278 | return SWIG_Py_Void(); |
| 4279 | } |
| 4280 | |
| 4281 | SWIGINTERN PyObject *_wrap_dbr_sts_float_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4282 | PyObject *resultobj = 0; |
| 4283 | struct dbr_sts_float *arg1 = (struct dbr_sts_float *) 0 ; |
| 4284 | dbr_short_t arg2 ; |
| 4285 | void *argp1 = 0 ; |
| 4286 | int res1 = 0 ; |
| 4287 | void *argp2 ; |
| 4288 | int res2 = 0 ; |
| 4289 | PyObject * obj0 = 0 ; |
| 4290 | PyObject * obj1 = 0 ; |
| 4291 | |
| 4292 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_float_status_set",&obj0,&obj1)) SWIG_fail; |
| 4293 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_float, 0 | 0 ); |
| 4294 | if (!SWIG_IsOK(res1)) { |
| 4295 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_float_status_set" "', argument " "1"" of type '" "struct dbr_sts_float *""'"); |
| 4296 | } |
| 4297 | arg1 = (struct dbr_sts_float *)(argp1); |
| 4298 | { |
| 4299 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 4300 | if (!SWIG_IsOK(res2)) { |
| 4301 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_float_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4302 | } |
| 4303 | if (!argp2) { |
| 4304 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_float_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4305 | } else { |
| 4306 | arg2 = *((dbr_short_t *)(argp2)); |
| 4307 | } |
| 4308 | } |
| 4309 | if (arg1) (arg1)->status = arg2; |
| 4310 | |
| 4311 | resultobj = SWIG_Py_Void(); |
| 4312 | return resultobj; |
| 4313 | fail: |
| 4314 | return NULL; |
| 4315 | } |
| 4316 | |
| 4317 | |
| 4318 | SWIGINTERN PyObject *_wrap_dbr_sts_float_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4319 | PyObject *resultobj = 0; |
| 4320 | struct dbr_sts_float *arg1 = (struct dbr_sts_float *) 0 ; |
| 4321 | dbr_short_t result; |
| 4322 | void *argp1 = 0 ; |
| 4323 | int res1 = 0 ; |
| 4324 | PyObject * obj0 = 0 ; |
| 4325 | |
| 4326 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_float_status_get",&obj0)) SWIG_fail; |
| 4327 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_float, 0 | 0 ); |
| 4328 | if (!SWIG_IsOK(res1)) { |
| 4329 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_float_status_get" "', argument " "1"" of type '" "struct dbr_sts_float *""'"); |
| 4330 | } |
| 4331 | arg1 = (struct dbr_sts_float *)(argp1); |
| 4332 | result = ((arg1)->status); |
| 4333 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 4334 | return resultobj; |
| 4335 | fail: |
| 4336 | return NULL; |
| 4337 | } |
| 4338 | |
| 4339 | |
| 4340 | SWIGINTERN PyObject *_wrap_dbr_sts_float_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4341 | PyObject *resultobj = 0; |
| 4342 | struct dbr_sts_float *arg1 = (struct dbr_sts_float *) 0 ; |
| 4343 | dbr_short_t arg2 ; |
| 4344 | void *argp1 = 0 ; |
| 4345 | int res1 = 0 ; |
| 4346 | void *argp2 ; |
| 4347 | int res2 = 0 ; |
| 4348 | PyObject * obj0 = 0 ; |
| 4349 | PyObject * obj1 = 0 ; |
| 4350 | |
| 4351 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_float_severity_set",&obj0,&obj1)) SWIG_fail; |
| 4352 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_float, 0 | 0 ); |
| 4353 | if (!SWIG_IsOK(res1)) { |
| 4354 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_float_severity_set" "', argument " "1"" of type '" "struct dbr_sts_float *""'"); |
| 4355 | } |
| 4356 | arg1 = (struct dbr_sts_float *)(argp1); |
| 4357 | { |
| 4358 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 4359 | if (!SWIG_IsOK(res2)) { |
| 4360 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_float_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4361 | } |
| 4362 | if (!argp2) { |
| 4363 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_float_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4364 | } else { |
| 4365 | arg2 = *((dbr_short_t *)(argp2)); |
| 4366 | } |
| 4367 | } |
| 4368 | if (arg1) (arg1)->severity = arg2; |
| 4369 | |
| 4370 | resultobj = SWIG_Py_Void(); |
| 4371 | return resultobj; |
| 4372 | fail: |
| 4373 | return NULL; |
| 4374 | } |
| 4375 | |
| 4376 | |
| 4377 | SWIGINTERN PyObject *_wrap_dbr_sts_float_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4378 | PyObject *resultobj = 0; |
| 4379 | struct dbr_sts_float *arg1 = (struct dbr_sts_float *) 0 ; |
| 4380 | dbr_short_t result; |
| 4381 | void *argp1 = 0 ; |
| 4382 | int res1 = 0 ; |
| 4383 | PyObject * obj0 = 0 ; |
| 4384 | |
| 4385 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_float_severity_get",&obj0)) SWIG_fail; |
| 4386 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_float, 0 | 0 ); |
| 4387 | if (!SWIG_IsOK(res1)) { |
| 4388 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_float_severity_get" "', argument " "1"" of type '" "struct dbr_sts_float *""'"); |
| 4389 | } |
| 4390 | arg1 = (struct dbr_sts_float *)(argp1); |
| 4391 | result = ((arg1)->severity); |
| 4392 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 4393 | return resultobj; |
| 4394 | fail: |
| 4395 | return NULL; |
| 4396 | } |
| 4397 | |
| 4398 | |
| 4399 | SWIGINTERN PyObject *_wrap_dbr_sts_float_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4400 | PyObject *resultobj = 0; |
| 4401 | struct dbr_sts_float *arg1 = (struct dbr_sts_float *) 0 ; |
| 4402 | dbr_float_t arg2 ; |
| 4403 | void *argp1 = 0 ; |
| 4404 | int res1 = 0 ; |
| 4405 | void *argp2 ; |
| 4406 | int res2 = 0 ; |
| 4407 | PyObject * obj0 = 0 ; |
| 4408 | PyObject * obj1 = 0 ; |
| 4409 | |
| 4410 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_float_value_set",&obj0,&obj1)) SWIG_fail; |
| 4411 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_float, 0 | 0 ); |
| 4412 | if (!SWIG_IsOK(res1)) { |
| 4413 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_float_value_set" "', argument " "1"" of type '" "struct dbr_sts_float *""'"); |
| 4414 | } |
| 4415 | arg1 = (struct dbr_sts_float *)(argp1); |
| 4416 | { |
| 4417 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsFloat32, 0 ); |
| 4418 | if (!SWIG_IsOK(res2)) { |
| 4419 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_float_value_set" "', argument " "2"" of type '" "dbr_float_t""'"); |
| 4420 | } |
| 4421 | if (!argp2) { |
| 4422 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_float_value_set" "', argument " "2"" of type '" "dbr_float_t""'"); |
| 4423 | } else { |
| 4424 | arg2 = *((dbr_float_t *)(argp2)); |
| 4425 | } |
| 4426 | } |
| 4427 | if (arg1) (arg1)->value = arg2; |
| 4428 | |
| 4429 | resultobj = SWIG_Py_Void(); |
| 4430 | return resultobj; |
| 4431 | fail: |
| 4432 | return NULL; |
| 4433 | } |
| 4434 | |
| 4435 | |
| 4436 | SWIGINTERN PyObject *_wrap_dbr_sts_float_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4437 | PyObject *resultobj = 0; |
| 4438 | struct dbr_sts_float *arg1 = (struct dbr_sts_float *) 0 ; |
| 4439 | dbr_float_t result; |
| 4440 | void *argp1 = 0 ; |
| 4441 | int res1 = 0 ; |
| 4442 | PyObject * obj0 = 0 ; |
| 4443 | |
| 4444 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_float_value_get",&obj0)) SWIG_fail; |
| 4445 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_float, 0 | 0 ); |
| 4446 | if (!SWIG_IsOK(res1)) { |
| 4447 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_float_value_get" "', argument " "1"" of type '" "struct dbr_sts_float *""'"); |
| 4448 | } |
| 4449 | arg1 = (struct dbr_sts_float *)(argp1); |
| 4450 | result = ((arg1)->value); |
| 4451 | resultobj = SWIG_NewPointerObj((dbr_float_t *)memcpy((dbr_float_t *)malloc(sizeof(dbr_float_t)),&result,sizeof(dbr_float_t)), SWIGTYPE_p_epicsFloat32, SWIG_POINTER_OWN | 0 ); |
| 4452 | return resultobj; |
| 4453 | fail: |
| 4454 | return NULL; |
| 4455 | } |
| 4456 | |
| 4457 | |
| 4458 | SWIGINTERN PyObject *_wrap_new_dbr_sts_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4459 | PyObject *resultobj = 0; |
| 4460 | struct dbr_sts_float *result = 0 ; |
| 4461 | |
| 4462 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_sts_float")) SWIG_fail; |
| 4463 | result = (struct dbr_sts_float *)(struct dbr_sts_float *) calloc(1, sizeof(struct dbr_sts_float)); |
| 4464 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_sts_float, SWIG_POINTER_NEW | 0 ); |
| 4465 | return resultobj; |
| 4466 | fail: |
| 4467 | return NULL; |
| 4468 | } |
| 4469 | |
| 4470 | |
| 4471 | SWIGINTERN PyObject *_wrap_delete_dbr_sts_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4472 | PyObject *resultobj = 0; |
| 4473 | struct dbr_sts_float *arg1 = (struct dbr_sts_float *) 0 ; |
| 4474 | void *argp1 = 0 ; |
| 4475 | int res1 = 0 ; |
| 4476 | PyObject * obj0 = 0 ; |
| 4477 | |
| 4478 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_sts_float",&obj0)) SWIG_fail; |
| 4479 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_float, SWIG_POINTER_DISOWN | 0 ); |
| 4480 | if (!SWIG_IsOK(res1)) { |
| 4481 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_sts_float" "', argument " "1"" of type '" "struct dbr_sts_float *""'"); |
| 4482 | } |
| 4483 | arg1 = (struct dbr_sts_float *)(argp1); |
| 4484 | free((char *) arg1); |
| 4485 | |
| 4486 | resultobj = SWIG_Py_Void(); |
| 4487 | return resultobj; |
| 4488 | fail: |
| 4489 | return NULL; |
| 4490 | } |
| 4491 | |
| 4492 | |
| 4493 | SWIGINTERN PyObject *dbr_sts_float_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4494 | PyObject *obj; |
| 4495 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 4496 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_sts_float, SWIG_NewClientData(obj)); |
| 4497 | return SWIG_Py_Void(); |
| 4498 | } |
| 4499 | |
| 4500 | SWIGINTERN PyObject *_wrap_dbr_sts_enum_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4501 | PyObject *resultobj = 0; |
| 4502 | struct dbr_sts_enum *arg1 = (struct dbr_sts_enum *) 0 ; |
| 4503 | dbr_short_t arg2 ; |
| 4504 | void *argp1 = 0 ; |
| 4505 | int res1 = 0 ; |
| 4506 | void *argp2 ; |
| 4507 | int res2 = 0 ; |
| 4508 | PyObject * obj0 = 0 ; |
| 4509 | PyObject * obj1 = 0 ; |
| 4510 | |
| 4511 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_enum_status_set",&obj0,&obj1)) SWIG_fail; |
| 4512 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_enum, 0 | 0 ); |
| 4513 | if (!SWIG_IsOK(res1)) { |
| 4514 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_enum_status_set" "', argument " "1"" of type '" "struct dbr_sts_enum *""'"); |
| 4515 | } |
| 4516 | arg1 = (struct dbr_sts_enum *)(argp1); |
| 4517 | { |
| 4518 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 4519 | if (!SWIG_IsOK(res2)) { |
| 4520 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_enum_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4521 | } |
| 4522 | if (!argp2) { |
| 4523 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_enum_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4524 | } else { |
| 4525 | arg2 = *((dbr_short_t *)(argp2)); |
| 4526 | } |
| 4527 | } |
| 4528 | if (arg1) (arg1)->status = arg2; |
| 4529 | |
| 4530 | resultobj = SWIG_Py_Void(); |
| 4531 | return resultobj; |
| 4532 | fail: |
| 4533 | return NULL; |
| 4534 | } |
| 4535 | |
| 4536 | |
| 4537 | SWIGINTERN PyObject *_wrap_dbr_sts_enum_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4538 | PyObject *resultobj = 0; |
| 4539 | struct dbr_sts_enum *arg1 = (struct dbr_sts_enum *) 0 ; |
| 4540 | dbr_short_t result; |
| 4541 | void *argp1 = 0 ; |
| 4542 | int res1 = 0 ; |
| 4543 | PyObject * obj0 = 0 ; |
| 4544 | |
| 4545 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_enum_status_get",&obj0)) SWIG_fail; |
| 4546 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_enum, 0 | 0 ); |
| 4547 | if (!SWIG_IsOK(res1)) { |
| 4548 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_enum_status_get" "', argument " "1"" of type '" "struct dbr_sts_enum *""'"); |
| 4549 | } |
| 4550 | arg1 = (struct dbr_sts_enum *)(argp1); |
| 4551 | result = ((arg1)->status); |
| 4552 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 4553 | return resultobj; |
| 4554 | fail: |
| 4555 | return NULL; |
| 4556 | } |
| 4557 | |
| 4558 | |
| 4559 | SWIGINTERN PyObject *_wrap_dbr_sts_enum_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4560 | PyObject *resultobj = 0; |
| 4561 | struct dbr_sts_enum *arg1 = (struct dbr_sts_enum *) 0 ; |
| 4562 | dbr_short_t arg2 ; |
| 4563 | void *argp1 = 0 ; |
| 4564 | int res1 = 0 ; |
| 4565 | void *argp2 ; |
| 4566 | int res2 = 0 ; |
| 4567 | PyObject * obj0 = 0 ; |
| 4568 | PyObject * obj1 = 0 ; |
| 4569 | |
| 4570 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_enum_severity_set",&obj0,&obj1)) SWIG_fail; |
| 4571 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_enum, 0 | 0 ); |
| 4572 | if (!SWIG_IsOK(res1)) { |
| 4573 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_enum_severity_set" "', argument " "1"" of type '" "struct dbr_sts_enum *""'"); |
| 4574 | } |
| 4575 | arg1 = (struct dbr_sts_enum *)(argp1); |
| 4576 | { |
| 4577 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 4578 | if (!SWIG_IsOK(res2)) { |
| 4579 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_enum_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4580 | } |
| 4581 | if (!argp2) { |
| 4582 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_enum_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4583 | } else { |
| 4584 | arg2 = *((dbr_short_t *)(argp2)); |
| 4585 | } |
| 4586 | } |
| 4587 | if (arg1) (arg1)->severity = arg2; |
| 4588 | |
| 4589 | resultobj = SWIG_Py_Void(); |
| 4590 | return resultobj; |
| 4591 | fail: |
| 4592 | return NULL; |
| 4593 | } |
| 4594 | |
| 4595 | |
| 4596 | SWIGINTERN PyObject *_wrap_dbr_sts_enum_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4597 | PyObject *resultobj = 0; |
| 4598 | struct dbr_sts_enum *arg1 = (struct dbr_sts_enum *) 0 ; |
| 4599 | dbr_short_t result; |
| 4600 | void *argp1 = 0 ; |
| 4601 | int res1 = 0 ; |
| 4602 | PyObject * obj0 = 0 ; |
| 4603 | |
| 4604 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_enum_severity_get",&obj0)) SWIG_fail; |
| 4605 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_enum, 0 | 0 ); |
| 4606 | if (!SWIG_IsOK(res1)) { |
| 4607 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_enum_severity_get" "', argument " "1"" of type '" "struct dbr_sts_enum *""'"); |
| 4608 | } |
| 4609 | arg1 = (struct dbr_sts_enum *)(argp1); |
| 4610 | result = ((arg1)->severity); |
| 4611 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 4612 | return resultobj; |
| 4613 | fail: |
| 4614 | return NULL; |
| 4615 | } |
| 4616 | |
| 4617 | |
| 4618 | SWIGINTERN PyObject *_wrap_dbr_sts_enum_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4619 | PyObject *resultobj = 0; |
| 4620 | struct dbr_sts_enum *arg1 = (struct dbr_sts_enum *) 0 ; |
| 4621 | dbr_enum_t arg2 ; |
| 4622 | void *argp1 = 0 ; |
| 4623 | int res1 = 0 ; |
| 4624 | void *argp2 ; |
| 4625 | int res2 = 0 ; |
| 4626 | PyObject * obj0 = 0 ; |
| 4627 | PyObject * obj1 = 0 ; |
| 4628 | |
| 4629 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_enum_value_set",&obj0,&obj1)) SWIG_fail; |
| 4630 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_enum, 0 | 0 ); |
| 4631 | if (!SWIG_IsOK(res1)) { |
| 4632 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_enum_value_set" "', argument " "1"" of type '" "struct dbr_sts_enum *""'"); |
| 4633 | } |
| 4634 | arg1 = (struct dbr_sts_enum *)(argp1); |
| 4635 | { |
| 4636 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsUInt16, 0 ); |
| 4637 | if (!SWIG_IsOK(res2)) { |
| 4638 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_enum_value_set" "', argument " "2"" of type '" "dbr_enum_t""'"); |
| 4639 | } |
| 4640 | if (!argp2) { |
| 4641 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_enum_value_set" "', argument " "2"" of type '" "dbr_enum_t""'"); |
| 4642 | } else { |
| 4643 | arg2 = *((dbr_enum_t *)(argp2)); |
| 4644 | } |
| 4645 | } |
| 4646 | if (arg1) (arg1)->value = arg2; |
| 4647 | |
| 4648 | resultobj = SWIG_Py_Void(); |
| 4649 | return resultobj; |
| 4650 | fail: |
| 4651 | return NULL; |
| 4652 | } |
| 4653 | |
| 4654 | |
| 4655 | SWIGINTERN PyObject *_wrap_dbr_sts_enum_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4656 | PyObject *resultobj = 0; |
| 4657 | struct dbr_sts_enum *arg1 = (struct dbr_sts_enum *) 0 ; |
| 4658 | dbr_enum_t result; |
| 4659 | void *argp1 = 0 ; |
| 4660 | int res1 = 0 ; |
| 4661 | PyObject * obj0 = 0 ; |
| 4662 | |
| 4663 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_enum_value_get",&obj0)) SWIG_fail; |
| 4664 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_enum, 0 | 0 ); |
| 4665 | if (!SWIG_IsOK(res1)) { |
| 4666 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_enum_value_get" "', argument " "1"" of type '" "struct dbr_sts_enum *""'"); |
| 4667 | } |
| 4668 | arg1 = (struct dbr_sts_enum *)(argp1); |
| 4669 | result = ((arg1)->value); |
| 4670 | resultobj = SWIG_NewPointerObj((dbr_enum_t *)memcpy((dbr_enum_t *)malloc(sizeof(dbr_enum_t)),&result,sizeof(dbr_enum_t)), SWIGTYPE_p_epicsUInt16, SWIG_POINTER_OWN | 0 ); |
| 4671 | return resultobj; |
| 4672 | fail: |
| 4673 | return NULL; |
| 4674 | } |
| 4675 | |
| 4676 | |
| 4677 | SWIGINTERN PyObject *_wrap_new_dbr_sts_enum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4678 | PyObject *resultobj = 0; |
| 4679 | struct dbr_sts_enum *result = 0 ; |
| 4680 | |
| 4681 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_sts_enum")) SWIG_fail; |
| 4682 | result = (struct dbr_sts_enum *)(struct dbr_sts_enum *) calloc(1, sizeof(struct dbr_sts_enum)); |
| 4683 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_sts_enum, SWIG_POINTER_NEW | 0 ); |
| 4684 | return resultobj; |
| 4685 | fail: |
| 4686 | return NULL; |
| 4687 | } |
| 4688 | |
| 4689 | |
| 4690 | SWIGINTERN PyObject *_wrap_delete_dbr_sts_enum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4691 | PyObject *resultobj = 0; |
| 4692 | struct dbr_sts_enum *arg1 = (struct dbr_sts_enum *) 0 ; |
| 4693 | void *argp1 = 0 ; |
| 4694 | int res1 = 0 ; |
| 4695 | PyObject * obj0 = 0 ; |
| 4696 | |
| 4697 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_sts_enum",&obj0)) SWIG_fail; |
| 4698 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_enum, SWIG_POINTER_DISOWN | 0 ); |
| 4699 | if (!SWIG_IsOK(res1)) { |
| 4700 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_sts_enum" "', argument " "1"" of type '" "struct dbr_sts_enum *""'"); |
| 4701 | } |
| 4702 | arg1 = (struct dbr_sts_enum *)(argp1); |
| 4703 | free((char *) arg1); |
| 4704 | |
| 4705 | resultobj = SWIG_Py_Void(); |
| 4706 | return resultobj; |
| 4707 | fail: |
| 4708 | return NULL; |
| 4709 | } |
| 4710 | |
| 4711 | |
| 4712 | SWIGINTERN PyObject *dbr_sts_enum_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4713 | PyObject *obj; |
| 4714 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 4715 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_sts_enum, SWIG_NewClientData(obj)); |
| 4716 | return SWIG_Py_Void(); |
| 4717 | } |
| 4718 | |
| 4719 | SWIGINTERN PyObject *_wrap_dbr_sts_char_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4720 | PyObject *resultobj = 0; |
| 4721 | struct dbr_sts_char *arg1 = (struct dbr_sts_char *) 0 ; |
| 4722 | dbr_short_t arg2 ; |
| 4723 | void *argp1 = 0 ; |
| 4724 | int res1 = 0 ; |
| 4725 | void *argp2 ; |
| 4726 | int res2 = 0 ; |
| 4727 | PyObject * obj0 = 0 ; |
| 4728 | PyObject * obj1 = 0 ; |
| 4729 | |
| 4730 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_char_status_set",&obj0,&obj1)) SWIG_fail; |
| 4731 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_char, 0 | 0 ); |
| 4732 | if (!SWIG_IsOK(res1)) { |
| 4733 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_char_status_set" "', argument " "1"" of type '" "struct dbr_sts_char *""'"); |
| 4734 | } |
| 4735 | arg1 = (struct dbr_sts_char *)(argp1); |
| 4736 | { |
| 4737 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 4738 | if (!SWIG_IsOK(res2)) { |
| 4739 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_char_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4740 | } |
| 4741 | if (!argp2) { |
| 4742 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_char_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4743 | } else { |
| 4744 | arg2 = *((dbr_short_t *)(argp2)); |
| 4745 | } |
| 4746 | } |
| 4747 | if (arg1) (arg1)->status = arg2; |
| 4748 | |
| 4749 | resultobj = SWIG_Py_Void(); |
| 4750 | return resultobj; |
| 4751 | fail: |
| 4752 | return NULL; |
| 4753 | } |
| 4754 | |
| 4755 | |
| 4756 | SWIGINTERN PyObject *_wrap_dbr_sts_char_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4757 | PyObject *resultobj = 0; |
| 4758 | struct dbr_sts_char *arg1 = (struct dbr_sts_char *) 0 ; |
| 4759 | dbr_short_t result; |
| 4760 | void *argp1 = 0 ; |
| 4761 | int res1 = 0 ; |
| 4762 | PyObject * obj0 = 0 ; |
| 4763 | |
| 4764 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_char_status_get",&obj0)) SWIG_fail; |
| 4765 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_char, 0 | 0 ); |
| 4766 | if (!SWIG_IsOK(res1)) { |
| 4767 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_char_status_get" "', argument " "1"" of type '" "struct dbr_sts_char *""'"); |
| 4768 | } |
| 4769 | arg1 = (struct dbr_sts_char *)(argp1); |
| 4770 | result = ((arg1)->status); |
| 4771 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 4772 | return resultobj; |
| 4773 | fail: |
| 4774 | return NULL; |
| 4775 | } |
| 4776 | |
| 4777 | |
| 4778 | SWIGINTERN PyObject *_wrap_dbr_sts_char_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4779 | PyObject *resultobj = 0; |
| 4780 | struct dbr_sts_char *arg1 = (struct dbr_sts_char *) 0 ; |
| 4781 | dbr_short_t arg2 ; |
| 4782 | void *argp1 = 0 ; |
| 4783 | int res1 = 0 ; |
| 4784 | void *argp2 ; |
| 4785 | int res2 = 0 ; |
| 4786 | PyObject * obj0 = 0 ; |
| 4787 | PyObject * obj1 = 0 ; |
| 4788 | |
| 4789 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_char_severity_set",&obj0,&obj1)) SWIG_fail; |
| 4790 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_char, 0 | 0 ); |
| 4791 | if (!SWIG_IsOK(res1)) { |
| 4792 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_char_severity_set" "', argument " "1"" of type '" "struct dbr_sts_char *""'"); |
| 4793 | } |
| 4794 | arg1 = (struct dbr_sts_char *)(argp1); |
| 4795 | { |
| 4796 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 4797 | if (!SWIG_IsOK(res2)) { |
| 4798 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_char_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4799 | } |
| 4800 | if (!argp2) { |
| 4801 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_char_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 4802 | } else { |
| 4803 | arg2 = *((dbr_short_t *)(argp2)); |
| 4804 | } |
| 4805 | } |
| 4806 | if (arg1) (arg1)->severity = arg2; |
| 4807 | |
| 4808 | resultobj = SWIG_Py_Void(); |
| 4809 | return resultobj; |
| 4810 | fail: |
| 4811 | return NULL; |
| 4812 | } |
| 4813 | |
| 4814 | |
| 4815 | SWIGINTERN PyObject *_wrap_dbr_sts_char_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4816 | PyObject *resultobj = 0; |
| 4817 | struct dbr_sts_char *arg1 = (struct dbr_sts_char *) 0 ; |
| 4818 | dbr_short_t result; |
| 4819 | void *argp1 = 0 ; |
| 4820 | int res1 = 0 ; |
| 4821 | PyObject * obj0 = 0 ; |
| 4822 | |
| 4823 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_char_severity_get",&obj0)) SWIG_fail; |
| 4824 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_char, 0 | 0 ); |
| 4825 | if (!SWIG_IsOK(res1)) { |
| 4826 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_char_severity_get" "', argument " "1"" of type '" "struct dbr_sts_char *""'"); |
| 4827 | } |
| 4828 | arg1 = (struct dbr_sts_char *)(argp1); |
| 4829 | result = ((arg1)->severity); |
| 4830 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 4831 | return resultobj; |
| 4832 | fail: |
| 4833 | return NULL; |
| 4834 | } |
| 4835 | |
| 4836 | |
| 4837 | SWIGINTERN PyObject *_wrap_dbr_sts_char_RISC_pad_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4838 | PyObject *resultobj = 0; |
| 4839 | struct dbr_sts_char *arg1 = (struct dbr_sts_char *) 0 ; |
| 4840 | dbr_char_t arg2 ; |
| 4841 | void *argp1 = 0 ; |
| 4842 | int res1 = 0 ; |
| 4843 | void *argp2 ; |
| 4844 | int res2 = 0 ; |
| 4845 | PyObject * obj0 = 0 ; |
| 4846 | PyObject * obj1 = 0 ; |
| 4847 | |
| 4848 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_char_RISC_pad_set",&obj0,&obj1)) SWIG_fail; |
| 4849 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_char, 0 | 0 ); |
| 4850 | if (!SWIG_IsOK(res1)) { |
| 4851 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_char_RISC_pad_set" "', argument " "1"" of type '" "struct dbr_sts_char *""'"); |
| 4852 | } |
| 4853 | arg1 = (struct dbr_sts_char *)(argp1); |
| 4854 | { |
| 4855 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsUInt8, 0 ); |
| 4856 | if (!SWIG_IsOK(res2)) { |
| 4857 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_char_RISC_pad_set" "', argument " "2"" of type '" "dbr_char_t""'"); |
| 4858 | } |
| 4859 | if (!argp2) { |
| 4860 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_char_RISC_pad_set" "', argument " "2"" of type '" "dbr_char_t""'"); |
| 4861 | } else { |
| 4862 | arg2 = *((dbr_char_t *)(argp2)); |
| 4863 | } |
| 4864 | } |
| 4865 | if (arg1) (arg1)->RISC_pad = arg2; |
| 4866 | |
| 4867 | resultobj = SWIG_Py_Void(); |
| 4868 | return resultobj; |
| 4869 | fail: |
| 4870 | return NULL; |
| 4871 | } |
| 4872 | |
| 4873 | |
| 4874 | SWIGINTERN PyObject *_wrap_dbr_sts_char_RISC_pad_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4875 | PyObject *resultobj = 0; |
| 4876 | struct dbr_sts_char *arg1 = (struct dbr_sts_char *) 0 ; |
| 4877 | dbr_char_t result; |
| 4878 | void *argp1 = 0 ; |
| 4879 | int res1 = 0 ; |
| 4880 | PyObject * obj0 = 0 ; |
| 4881 | |
| 4882 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_char_RISC_pad_get",&obj0)) SWIG_fail; |
| 4883 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_char, 0 | 0 ); |
| 4884 | if (!SWIG_IsOK(res1)) { |
| 4885 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_char_RISC_pad_get" "', argument " "1"" of type '" "struct dbr_sts_char *""'"); |
| 4886 | } |
| 4887 | arg1 = (struct dbr_sts_char *)(argp1); |
| 4888 | result = ((arg1)->RISC_pad); |
| 4889 | resultobj = SWIG_NewPointerObj((dbr_char_t *)memcpy((dbr_char_t *)malloc(sizeof(dbr_char_t)),&result,sizeof(dbr_char_t)), SWIGTYPE_p_epicsUInt8, SWIG_POINTER_OWN | 0 ); |
| 4890 | return resultobj; |
| 4891 | fail: |
| 4892 | return NULL; |
| 4893 | } |
| 4894 | |
| 4895 | |
| 4896 | SWIGINTERN PyObject *_wrap_dbr_sts_char_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4897 | PyObject *resultobj = 0; |
| 4898 | struct dbr_sts_char *arg1 = (struct dbr_sts_char *) 0 ; |
| 4899 | dbr_char_t arg2 ; |
| 4900 | void *argp1 = 0 ; |
| 4901 | int res1 = 0 ; |
| 4902 | void *argp2 ; |
| 4903 | int res2 = 0 ; |
| 4904 | PyObject * obj0 = 0 ; |
| 4905 | PyObject * obj1 = 0 ; |
| 4906 | |
| 4907 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_char_value_set",&obj0,&obj1)) SWIG_fail; |
| 4908 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_char, 0 | 0 ); |
| 4909 | if (!SWIG_IsOK(res1)) { |
| 4910 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_char_value_set" "', argument " "1"" of type '" "struct dbr_sts_char *""'"); |
| 4911 | } |
| 4912 | arg1 = (struct dbr_sts_char *)(argp1); |
| 4913 | { |
| 4914 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsUInt8, 0 ); |
| 4915 | if (!SWIG_IsOK(res2)) { |
| 4916 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_char_value_set" "', argument " "2"" of type '" "dbr_char_t""'"); |
| 4917 | } |
| 4918 | if (!argp2) { |
| 4919 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_char_value_set" "', argument " "2"" of type '" "dbr_char_t""'"); |
| 4920 | } else { |
| 4921 | arg2 = *((dbr_char_t *)(argp2)); |
| 4922 | } |
| 4923 | } |
| 4924 | if (arg1) (arg1)->value = arg2; |
| 4925 | |
| 4926 | resultobj = SWIG_Py_Void(); |
| 4927 | return resultobj; |
| 4928 | fail: |
| 4929 | return NULL; |
| 4930 | } |
| 4931 | |
| 4932 | |
| 4933 | SWIGINTERN PyObject *_wrap_dbr_sts_char_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4934 | PyObject *resultobj = 0; |
| 4935 | struct dbr_sts_char *arg1 = (struct dbr_sts_char *) 0 ; |
| 4936 | dbr_char_t result; |
| 4937 | void *argp1 = 0 ; |
| 4938 | int res1 = 0 ; |
| 4939 | PyObject * obj0 = 0 ; |
| 4940 | |
| 4941 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_char_value_get",&obj0)) SWIG_fail; |
| 4942 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_char, 0 | 0 ); |
| 4943 | if (!SWIG_IsOK(res1)) { |
| 4944 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_char_value_get" "', argument " "1"" of type '" "struct dbr_sts_char *""'"); |
| 4945 | } |
| 4946 | arg1 = (struct dbr_sts_char *)(argp1); |
| 4947 | result = ((arg1)->value); |
| 4948 | resultobj = SWIG_NewPointerObj((dbr_char_t *)memcpy((dbr_char_t *)malloc(sizeof(dbr_char_t)),&result,sizeof(dbr_char_t)), SWIGTYPE_p_epicsUInt8, SWIG_POINTER_OWN | 0 ); |
| 4949 | return resultobj; |
| 4950 | fail: |
| 4951 | return NULL; |
| 4952 | } |
| 4953 | |
| 4954 | |
| 4955 | SWIGINTERN PyObject *_wrap_new_dbr_sts_char(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4956 | PyObject *resultobj = 0; |
| 4957 | struct dbr_sts_char *result = 0 ; |
| 4958 | |
| 4959 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_sts_char")) SWIG_fail; |
| 4960 | result = (struct dbr_sts_char *)(struct dbr_sts_char *) calloc(1, sizeof(struct dbr_sts_char)); |
| 4961 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_sts_char, SWIG_POINTER_NEW | 0 ); |
| 4962 | return resultobj; |
| 4963 | fail: |
| 4964 | return NULL; |
| 4965 | } |
| 4966 | |
| 4967 | |
| 4968 | SWIGINTERN PyObject *_wrap_delete_dbr_sts_char(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4969 | PyObject *resultobj = 0; |
| 4970 | struct dbr_sts_char *arg1 = (struct dbr_sts_char *) 0 ; |
| 4971 | void *argp1 = 0 ; |
| 4972 | int res1 = 0 ; |
| 4973 | PyObject * obj0 = 0 ; |
| 4974 | |
| 4975 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_sts_char",&obj0)) SWIG_fail; |
| 4976 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_char, SWIG_POINTER_DISOWN | 0 ); |
| 4977 | if (!SWIG_IsOK(res1)) { |
| 4978 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_sts_char" "', argument " "1"" of type '" "struct dbr_sts_char *""'"); |
| 4979 | } |
| 4980 | arg1 = (struct dbr_sts_char *)(argp1); |
| 4981 | free((char *) arg1); |
| 4982 | |
| 4983 | resultobj = SWIG_Py_Void(); |
| 4984 | return resultobj; |
| 4985 | fail: |
| 4986 | return NULL; |
| 4987 | } |
| 4988 | |
| 4989 | |
| 4990 | SWIGINTERN PyObject *dbr_sts_char_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4991 | PyObject *obj; |
| 4992 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 4993 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_sts_char, SWIG_NewClientData(obj)); |
| 4994 | return SWIG_Py_Void(); |
| 4995 | } |
| 4996 | |
| 4997 | SWIGINTERN PyObject *_wrap_dbr_sts_long_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 4998 | PyObject *resultobj = 0; |
| 4999 | struct dbr_sts_long *arg1 = (struct dbr_sts_long *) 0 ; |
| 5000 | dbr_short_t arg2 ; |
| 5001 | void *argp1 = 0 ; |
| 5002 | int res1 = 0 ; |
| 5003 | void *argp2 ; |
| 5004 | int res2 = 0 ; |
| 5005 | PyObject * obj0 = 0 ; |
| 5006 | PyObject * obj1 = 0 ; |
| 5007 | |
| 5008 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_long_status_set",&obj0,&obj1)) SWIG_fail; |
| 5009 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_long, 0 | 0 ); |
| 5010 | if (!SWIG_IsOK(res1)) { |
| 5011 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_long_status_set" "', argument " "1"" of type '" "struct dbr_sts_long *""'"); |
| 5012 | } |
| 5013 | arg1 = (struct dbr_sts_long *)(argp1); |
| 5014 | { |
| 5015 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 5016 | if (!SWIG_IsOK(res2)) { |
| 5017 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_long_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5018 | } |
| 5019 | if (!argp2) { |
| 5020 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_long_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5021 | } else { |
| 5022 | arg2 = *((dbr_short_t *)(argp2)); |
| 5023 | } |
| 5024 | } |
| 5025 | if (arg1) (arg1)->status = arg2; |
| 5026 | |
| 5027 | resultobj = SWIG_Py_Void(); |
| 5028 | return resultobj; |
| 5029 | fail: |
| 5030 | return NULL; |
| 5031 | } |
| 5032 | |
| 5033 | |
| 5034 | SWIGINTERN PyObject *_wrap_dbr_sts_long_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5035 | PyObject *resultobj = 0; |
| 5036 | struct dbr_sts_long *arg1 = (struct dbr_sts_long *) 0 ; |
| 5037 | dbr_short_t result; |
| 5038 | void *argp1 = 0 ; |
| 5039 | int res1 = 0 ; |
| 5040 | PyObject * obj0 = 0 ; |
| 5041 | |
| 5042 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_long_status_get",&obj0)) SWIG_fail; |
| 5043 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_long, 0 | 0 ); |
| 5044 | if (!SWIG_IsOK(res1)) { |
| 5045 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_long_status_get" "', argument " "1"" of type '" "struct dbr_sts_long *""'"); |
| 5046 | } |
| 5047 | arg1 = (struct dbr_sts_long *)(argp1); |
| 5048 | result = ((arg1)->status); |
| 5049 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 5050 | return resultobj; |
| 5051 | fail: |
| 5052 | return NULL; |
| 5053 | } |
| 5054 | |
| 5055 | |
| 5056 | SWIGINTERN PyObject *_wrap_dbr_sts_long_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5057 | PyObject *resultobj = 0; |
| 5058 | struct dbr_sts_long *arg1 = (struct dbr_sts_long *) 0 ; |
| 5059 | dbr_short_t arg2 ; |
| 5060 | void *argp1 = 0 ; |
| 5061 | int res1 = 0 ; |
| 5062 | void *argp2 ; |
| 5063 | int res2 = 0 ; |
| 5064 | PyObject * obj0 = 0 ; |
| 5065 | PyObject * obj1 = 0 ; |
| 5066 | |
| 5067 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_long_severity_set",&obj0,&obj1)) SWIG_fail; |
| 5068 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_long, 0 | 0 ); |
| 5069 | if (!SWIG_IsOK(res1)) { |
| 5070 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_long_severity_set" "', argument " "1"" of type '" "struct dbr_sts_long *""'"); |
| 5071 | } |
| 5072 | arg1 = (struct dbr_sts_long *)(argp1); |
| 5073 | { |
| 5074 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 5075 | if (!SWIG_IsOK(res2)) { |
| 5076 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_long_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5077 | } |
| 5078 | if (!argp2) { |
| 5079 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_long_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5080 | } else { |
| 5081 | arg2 = *((dbr_short_t *)(argp2)); |
| 5082 | } |
| 5083 | } |
| 5084 | if (arg1) (arg1)->severity = arg2; |
| 5085 | |
| 5086 | resultobj = SWIG_Py_Void(); |
| 5087 | return resultobj; |
| 5088 | fail: |
| 5089 | return NULL; |
| 5090 | } |
| 5091 | |
| 5092 | |
| 5093 | SWIGINTERN PyObject *_wrap_dbr_sts_long_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5094 | PyObject *resultobj = 0; |
| 5095 | struct dbr_sts_long *arg1 = (struct dbr_sts_long *) 0 ; |
| 5096 | dbr_short_t result; |
| 5097 | void *argp1 = 0 ; |
| 5098 | int res1 = 0 ; |
| 5099 | PyObject * obj0 = 0 ; |
| 5100 | |
| 5101 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_long_severity_get",&obj0)) SWIG_fail; |
| 5102 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_long, 0 | 0 ); |
| 5103 | if (!SWIG_IsOK(res1)) { |
| 5104 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_long_severity_get" "', argument " "1"" of type '" "struct dbr_sts_long *""'"); |
| 5105 | } |
| 5106 | arg1 = (struct dbr_sts_long *)(argp1); |
| 5107 | result = ((arg1)->severity); |
| 5108 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 5109 | return resultobj; |
| 5110 | fail: |
| 5111 | return NULL; |
| 5112 | } |
| 5113 | |
| 5114 | |
| 5115 | SWIGINTERN PyObject *_wrap_dbr_sts_long_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5116 | PyObject *resultobj = 0; |
| 5117 | struct dbr_sts_long *arg1 = (struct dbr_sts_long *) 0 ; |
| 5118 | dbr_long_t arg2 ; |
| 5119 | void *argp1 = 0 ; |
| 5120 | int res1 = 0 ; |
| 5121 | void *argp2 ; |
| 5122 | int res2 = 0 ; |
| 5123 | PyObject * obj0 = 0 ; |
| 5124 | PyObject * obj1 = 0 ; |
| 5125 | |
| 5126 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_long_value_set",&obj0,&obj1)) SWIG_fail; |
| 5127 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_long, 0 | 0 ); |
| 5128 | if (!SWIG_IsOK(res1)) { |
| 5129 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_long_value_set" "', argument " "1"" of type '" "struct dbr_sts_long *""'"); |
| 5130 | } |
| 5131 | arg1 = (struct dbr_sts_long *)(argp1); |
| 5132 | { |
| 5133 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt32, 0 ); |
| 5134 | if (!SWIG_IsOK(res2)) { |
| 5135 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_long_value_set" "', argument " "2"" of type '" "dbr_long_t""'"); |
| 5136 | } |
| 5137 | if (!argp2) { |
| 5138 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_long_value_set" "', argument " "2"" of type '" "dbr_long_t""'"); |
| 5139 | } else { |
| 5140 | arg2 = *((dbr_long_t *)(argp2)); |
| 5141 | } |
| 5142 | } |
| 5143 | if (arg1) (arg1)->value = arg2; |
| 5144 | |
| 5145 | resultobj = SWIG_Py_Void(); |
| 5146 | return resultobj; |
| 5147 | fail: |
| 5148 | return NULL; |
| 5149 | } |
| 5150 | |
| 5151 | |
| 5152 | SWIGINTERN PyObject *_wrap_dbr_sts_long_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5153 | PyObject *resultobj = 0; |
| 5154 | struct dbr_sts_long *arg1 = (struct dbr_sts_long *) 0 ; |
| 5155 | dbr_long_t result; |
| 5156 | void *argp1 = 0 ; |
| 5157 | int res1 = 0 ; |
| 5158 | PyObject * obj0 = 0 ; |
| 5159 | |
| 5160 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_long_value_get",&obj0)) SWIG_fail; |
| 5161 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_long, 0 | 0 ); |
| 5162 | if (!SWIG_IsOK(res1)) { |
| 5163 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_long_value_get" "', argument " "1"" of type '" "struct dbr_sts_long *""'"); |
| 5164 | } |
| 5165 | arg1 = (struct dbr_sts_long *)(argp1); |
| 5166 | result = ((arg1)->value); |
| 5167 | resultobj = SWIG_NewPointerObj((dbr_long_t *)memcpy((dbr_long_t *)malloc(sizeof(dbr_long_t)),&result,sizeof(dbr_long_t)), SWIGTYPE_p_epicsInt32, SWIG_POINTER_OWN | 0 ); |
| 5168 | return resultobj; |
| 5169 | fail: |
| 5170 | return NULL; |
| 5171 | } |
| 5172 | |
| 5173 | |
| 5174 | SWIGINTERN PyObject *_wrap_new_dbr_sts_long(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5175 | PyObject *resultobj = 0; |
| 5176 | struct dbr_sts_long *result = 0 ; |
| 5177 | |
| 5178 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_sts_long")) SWIG_fail; |
| 5179 | result = (struct dbr_sts_long *)(struct dbr_sts_long *) calloc(1, sizeof(struct dbr_sts_long)); |
| 5180 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_sts_long, SWIG_POINTER_NEW | 0 ); |
| 5181 | return resultobj; |
| 5182 | fail: |
| 5183 | return NULL; |
| 5184 | } |
| 5185 | |
| 5186 | |
| 5187 | SWIGINTERN PyObject *_wrap_delete_dbr_sts_long(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5188 | PyObject *resultobj = 0; |
| 5189 | struct dbr_sts_long *arg1 = (struct dbr_sts_long *) 0 ; |
| 5190 | void *argp1 = 0 ; |
| 5191 | int res1 = 0 ; |
| 5192 | PyObject * obj0 = 0 ; |
| 5193 | |
| 5194 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_sts_long",&obj0)) SWIG_fail; |
| 5195 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_long, SWIG_POINTER_DISOWN | 0 ); |
| 5196 | if (!SWIG_IsOK(res1)) { |
| 5197 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_sts_long" "', argument " "1"" of type '" "struct dbr_sts_long *""'"); |
| 5198 | } |
| 5199 | arg1 = (struct dbr_sts_long *)(argp1); |
| 5200 | free((char *) arg1); |
| 5201 | |
| 5202 | resultobj = SWIG_Py_Void(); |
| 5203 | return resultobj; |
| 5204 | fail: |
| 5205 | return NULL; |
| 5206 | } |
| 5207 | |
| 5208 | |
| 5209 | SWIGINTERN PyObject *dbr_sts_long_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5210 | PyObject *obj; |
| 5211 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 5212 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_sts_long, SWIG_NewClientData(obj)); |
| 5213 | return SWIG_Py_Void(); |
| 5214 | } |
| 5215 | |
| 5216 | SWIGINTERN PyObject *_wrap_dbr_sts_double_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5217 | PyObject *resultobj = 0; |
| 5218 | struct dbr_sts_double *arg1 = (struct dbr_sts_double *) 0 ; |
| 5219 | dbr_short_t arg2 ; |
| 5220 | void *argp1 = 0 ; |
| 5221 | int res1 = 0 ; |
| 5222 | void *argp2 ; |
| 5223 | int res2 = 0 ; |
| 5224 | PyObject * obj0 = 0 ; |
| 5225 | PyObject * obj1 = 0 ; |
| 5226 | |
| 5227 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_double_status_set",&obj0,&obj1)) SWIG_fail; |
| 5228 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_double, 0 | 0 ); |
| 5229 | if (!SWIG_IsOK(res1)) { |
| 5230 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_double_status_set" "', argument " "1"" of type '" "struct dbr_sts_double *""'"); |
| 5231 | } |
| 5232 | arg1 = (struct dbr_sts_double *)(argp1); |
| 5233 | { |
| 5234 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 5235 | if (!SWIG_IsOK(res2)) { |
| 5236 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_double_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5237 | } |
| 5238 | if (!argp2) { |
| 5239 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_double_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5240 | } else { |
| 5241 | arg2 = *((dbr_short_t *)(argp2)); |
| 5242 | } |
| 5243 | } |
| 5244 | if (arg1) (arg1)->status = arg2; |
| 5245 | |
| 5246 | resultobj = SWIG_Py_Void(); |
| 5247 | return resultobj; |
| 5248 | fail: |
| 5249 | return NULL; |
| 5250 | } |
| 5251 | |
| 5252 | |
| 5253 | SWIGINTERN PyObject *_wrap_dbr_sts_double_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5254 | PyObject *resultobj = 0; |
| 5255 | struct dbr_sts_double *arg1 = (struct dbr_sts_double *) 0 ; |
| 5256 | dbr_short_t result; |
| 5257 | void *argp1 = 0 ; |
| 5258 | int res1 = 0 ; |
| 5259 | PyObject * obj0 = 0 ; |
| 5260 | |
| 5261 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_double_status_get",&obj0)) SWIG_fail; |
| 5262 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_double, 0 | 0 ); |
| 5263 | if (!SWIG_IsOK(res1)) { |
| 5264 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_double_status_get" "', argument " "1"" of type '" "struct dbr_sts_double *""'"); |
| 5265 | } |
| 5266 | arg1 = (struct dbr_sts_double *)(argp1); |
| 5267 | result = ((arg1)->status); |
| 5268 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 5269 | return resultobj; |
| 5270 | fail: |
| 5271 | return NULL; |
| 5272 | } |
| 5273 | |
| 5274 | |
| 5275 | SWIGINTERN PyObject *_wrap_dbr_sts_double_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5276 | PyObject *resultobj = 0; |
| 5277 | struct dbr_sts_double *arg1 = (struct dbr_sts_double *) 0 ; |
| 5278 | dbr_short_t arg2 ; |
| 5279 | void *argp1 = 0 ; |
| 5280 | int res1 = 0 ; |
| 5281 | void *argp2 ; |
| 5282 | int res2 = 0 ; |
| 5283 | PyObject * obj0 = 0 ; |
| 5284 | PyObject * obj1 = 0 ; |
| 5285 | |
| 5286 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_double_severity_set",&obj0,&obj1)) SWIG_fail; |
| 5287 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_double, 0 | 0 ); |
| 5288 | if (!SWIG_IsOK(res1)) { |
| 5289 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_double_severity_set" "', argument " "1"" of type '" "struct dbr_sts_double *""'"); |
| 5290 | } |
| 5291 | arg1 = (struct dbr_sts_double *)(argp1); |
| 5292 | { |
| 5293 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 5294 | if (!SWIG_IsOK(res2)) { |
| 5295 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_double_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5296 | } |
| 5297 | if (!argp2) { |
| 5298 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_double_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5299 | } else { |
| 5300 | arg2 = *((dbr_short_t *)(argp2)); |
| 5301 | } |
| 5302 | } |
| 5303 | if (arg1) (arg1)->severity = arg2; |
| 5304 | |
| 5305 | resultobj = SWIG_Py_Void(); |
| 5306 | return resultobj; |
| 5307 | fail: |
| 5308 | return NULL; |
| 5309 | } |
| 5310 | |
| 5311 | |
| 5312 | SWIGINTERN PyObject *_wrap_dbr_sts_double_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5313 | PyObject *resultobj = 0; |
| 5314 | struct dbr_sts_double *arg1 = (struct dbr_sts_double *) 0 ; |
| 5315 | dbr_short_t result; |
| 5316 | void *argp1 = 0 ; |
| 5317 | int res1 = 0 ; |
| 5318 | PyObject * obj0 = 0 ; |
| 5319 | |
| 5320 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_double_severity_get",&obj0)) SWIG_fail; |
| 5321 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_double, 0 | 0 ); |
| 5322 | if (!SWIG_IsOK(res1)) { |
| 5323 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_double_severity_get" "', argument " "1"" of type '" "struct dbr_sts_double *""'"); |
| 5324 | } |
| 5325 | arg1 = (struct dbr_sts_double *)(argp1); |
| 5326 | result = ((arg1)->severity); |
| 5327 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 5328 | return resultobj; |
| 5329 | fail: |
| 5330 | return NULL; |
| 5331 | } |
| 5332 | |
| 5333 | |
| 5334 | SWIGINTERN PyObject *_wrap_dbr_sts_double_RISC_pad_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5335 | PyObject *resultobj = 0; |
| 5336 | struct dbr_sts_double *arg1 = (struct dbr_sts_double *) 0 ; |
| 5337 | dbr_long_t arg2 ; |
| 5338 | void *argp1 = 0 ; |
| 5339 | int res1 = 0 ; |
| 5340 | void *argp2 ; |
| 5341 | int res2 = 0 ; |
| 5342 | PyObject * obj0 = 0 ; |
| 5343 | PyObject * obj1 = 0 ; |
| 5344 | |
| 5345 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_double_RISC_pad_set",&obj0,&obj1)) SWIG_fail; |
| 5346 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_double, 0 | 0 ); |
| 5347 | if (!SWIG_IsOK(res1)) { |
| 5348 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_double_RISC_pad_set" "', argument " "1"" of type '" "struct dbr_sts_double *""'"); |
| 5349 | } |
| 5350 | arg1 = (struct dbr_sts_double *)(argp1); |
| 5351 | { |
| 5352 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt32, 0 ); |
| 5353 | if (!SWIG_IsOK(res2)) { |
| 5354 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_double_RISC_pad_set" "', argument " "2"" of type '" "dbr_long_t""'"); |
| 5355 | } |
| 5356 | if (!argp2) { |
| 5357 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_double_RISC_pad_set" "', argument " "2"" of type '" "dbr_long_t""'"); |
| 5358 | } else { |
| 5359 | arg2 = *((dbr_long_t *)(argp2)); |
| 5360 | } |
| 5361 | } |
| 5362 | if (arg1) (arg1)->RISC_pad = arg2; |
| 5363 | |
| 5364 | resultobj = SWIG_Py_Void(); |
| 5365 | return resultobj; |
| 5366 | fail: |
| 5367 | return NULL; |
| 5368 | } |
| 5369 | |
| 5370 | |
| 5371 | SWIGINTERN PyObject *_wrap_dbr_sts_double_RISC_pad_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5372 | PyObject *resultobj = 0; |
| 5373 | struct dbr_sts_double *arg1 = (struct dbr_sts_double *) 0 ; |
| 5374 | dbr_long_t result; |
| 5375 | void *argp1 = 0 ; |
| 5376 | int res1 = 0 ; |
| 5377 | PyObject * obj0 = 0 ; |
| 5378 | |
| 5379 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_double_RISC_pad_get",&obj0)) SWIG_fail; |
| 5380 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_double, 0 | 0 ); |
| 5381 | if (!SWIG_IsOK(res1)) { |
| 5382 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_double_RISC_pad_get" "', argument " "1"" of type '" "struct dbr_sts_double *""'"); |
| 5383 | } |
| 5384 | arg1 = (struct dbr_sts_double *)(argp1); |
| 5385 | result = ((arg1)->RISC_pad); |
| 5386 | resultobj = SWIG_NewPointerObj((dbr_long_t *)memcpy((dbr_long_t *)malloc(sizeof(dbr_long_t)),&result,sizeof(dbr_long_t)), SWIGTYPE_p_epicsInt32, SWIG_POINTER_OWN | 0 ); |
| 5387 | return resultobj; |
| 5388 | fail: |
| 5389 | return NULL; |
| 5390 | } |
| 5391 | |
| 5392 | |
| 5393 | SWIGINTERN PyObject *_wrap_dbr_sts_double_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5394 | PyObject *resultobj = 0; |
| 5395 | struct dbr_sts_double *arg1 = (struct dbr_sts_double *) 0 ; |
| 5396 | dbr_double_t arg2 ; |
| 5397 | void *argp1 = 0 ; |
| 5398 | int res1 = 0 ; |
| 5399 | void *argp2 ; |
| 5400 | int res2 = 0 ; |
| 5401 | PyObject * obj0 = 0 ; |
| 5402 | PyObject * obj1 = 0 ; |
| 5403 | |
| 5404 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_sts_double_value_set",&obj0,&obj1)) SWIG_fail; |
| 5405 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_double, 0 | 0 ); |
| 5406 | if (!SWIG_IsOK(res1)) { |
| 5407 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_double_value_set" "', argument " "1"" of type '" "struct dbr_sts_double *""'"); |
| 5408 | } |
| 5409 | arg1 = (struct dbr_sts_double *)(argp1); |
| 5410 | { |
| 5411 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsFloat64, 0 ); |
| 5412 | if (!SWIG_IsOK(res2)) { |
| 5413 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_sts_double_value_set" "', argument " "2"" of type '" "dbr_double_t""'"); |
| 5414 | } |
| 5415 | if (!argp2) { |
| 5416 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_sts_double_value_set" "', argument " "2"" of type '" "dbr_double_t""'"); |
| 5417 | } else { |
| 5418 | arg2 = *((dbr_double_t *)(argp2)); |
| 5419 | } |
| 5420 | } |
| 5421 | if (arg1) (arg1)->value = arg2; |
| 5422 | |
| 5423 | resultobj = SWIG_Py_Void(); |
| 5424 | return resultobj; |
| 5425 | fail: |
| 5426 | return NULL; |
| 5427 | } |
| 5428 | |
| 5429 | |
| 5430 | SWIGINTERN PyObject *_wrap_dbr_sts_double_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5431 | PyObject *resultobj = 0; |
| 5432 | struct dbr_sts_double *arg1 = (struct dbr_sts_double *) 0 ; |
| 5433 | dbr_double_t result; |
| 5434 | void *argp1 = 0 ; |
| 5435 | int res1 = 0 ; |
| 5436 | PyObject * obj0 = 0 ; |
| 5437 | |
| 5438 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_sts_double_value_get",&obj0)) SWIG_fail; |
| 5439 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_double, 0 | 0 ); |
| 5440 | if (!SWIG_IsOK(res1)) { |
| 5441 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_sts_double_value_get" "', argument " "1"" of type '" "struct dbr_sts_double *""'"); |
| 5442 | } |
| 5443 | arg1 = (struct dbr_sts_double *)(argp1); |
| 5444 | result = ((arg1)->value); |
| 5445 | resultobj = SWIG_NewPointerObj((dbr_double_t *)memcpy((dbr_double_t *)malloc(sizeof(dbr_double_t)),&result,sizeof(dbr_double_t)), SWIGTYPE_p_epicsFloat64, SWIG_POINTER_OWN | 0 ); |
| 5446 | return resultobj; |
| 5447 | fail: |
| 5448 | return NULL; |
| 5449 | } |
| 5450 | |
| 5451 | |
| 5452 | SWIGINTERN PyObject *_wrap_new_dbr_sts_double(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5453 | PyObject *resultobj = 0; |
| 5454 | struct dbr_sts_double *result = 0 ; |
| 5455 | |
| 5456 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_sts_double")) SWIG_fail; |
| 5457 | result = (struct dbr_sts_double *)(struct dbr_sts_double *) calloc(1, sizeof(struct dbr_sts_double)); |
| 5458 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_sts_double, SWIG_POINTER_NEW | 0 ); |
| 5459 | return resultobj; |
| 5460 | fail: |
| 5461 | return NULL; |
| 5462 | } |
| 5463 | |
| 5464 | |
| 5465 | SWIGINTERN PyObject *_wrap_delete_dbr_sts_double(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5466 | PyObject *resultobj = 0; |
| 5467 | struct dbr_sts_double *arg1 = (struct dbr_sts_double *) 0 ; |
| 5468 | void *argp1 = 0 ; |
| 5469 | int res1 = 0 ; |
| 5470 | PyObject * obj0 = 0 ; |
| 5471 | |
| 5472 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_sts_double",&obj0)) SWIG_fail; |
| 5473 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_sts_double, SWIG_POINTER_DISOWN | 0 ); |
| 5474 | if (!SWIG_IsOK(res1)) { |
| 5475 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_sts_double" "', argument " "1"" of type '" "struct dbr_sts_double *""'"); |
| 5476 | } |
| 5477 | arg1 = (struct dbr_sts_double *)(argp1); |
| 5478 | free((char *) arg1); |
| 5479 | |
| 5480 | resultobj = SWIG_Py_Void(); |
| 5481 | return resultobj; |
| 5482 | fail: |
| 5483 | return NULL; |
| 5484 | } |
| 5485 | |
| 5486 | |
| 5487 | SWIGINTERN PyObject *dbr_sts_double_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5488 | PyObject *obj; |
| 5489 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 5490 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_sts_double, SWIG_NewClientData(obj)); |
| 5491 | return SWIG_Py_Void(); |
| 5492 | } |
| 5493 | |
| 5494 | SWIGINTERN PyObject *_wrap_dbr_time_short_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5495 | PyObject *resultobj = 0; |
| 5496 | struct dbr_time_short *arg1 = (struct dbr_time_short *) 0 ; |
| 5497 | dbr_short_t arg2 ; |
| 5498 | void *argp1 = 0 ; |
| 5499 | int res1 = 0 ; |
| 5500 | void *argp2 ; |
| 5501 | int res2 = 0 ; |
| 5502 | PyObject * obj0 = 0 ; |
| 5503 | PyObject * obj1 = 0 ; |
| 5504 | |
| 5505 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_short_status_set",&obj0,&obj1)) SWIG_fail; |
| 5506 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_short, 0 | 0 ); |
| 5507 | if (!SWIG_IsOK(res1)) { |
| 5508 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_short_status_set" "', argument " "1"" of type '" "struct dbr_time_short *""'"); |
| 5509 | } |
| 5510 | arg1 = (struct dbr_time_short *)(argp1); |
| 5511 | { |
| 5512 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 5513 | if (!SWIG_IsOK(res2)) { |
| 5514 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_short_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5515 | } |
| 5516 | if (!argp2) { |
| 5517 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_short_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5518 | } else { |
| 5519 | arg2 = *((dbr_short_t *)(argp2)); |
| 5520 | } |
| 5521 | } |
| 5522 | if (arg1) (arg1)->status = arg2; |
| 5523 | |
| 5524 | resultobj = SWIG_Py_Void(); |
| 5525 | return resultobj; |
| 5526 | fail: |
| 5527 | return NULL; |
| 5528 | } |
| 5529 | |
| 5530 | |
| 5531 | SWIGINTERN PyObject *_wrap_dbr_time_short_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5532 | PyObject *resultobj = 0; |
| 5533 | struct dbr_time_short *arg1 = (struct dbr_time_short *) 0 ; |
| 5534 | dbr_short_t result; |
| 5535 | void *argp1 = 0 ; |
| 5536 | int res1 = 0 ; |
| 5537 | PyObject * obj0 = 0 ; |
| 5538 | |
| 5539 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_short_status_get",&obj0)) SWIG_fail; |
| 5540 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_short, 0 | 0 ); |
| 5541 | if (!SWIG_IsOK(res1)) { |
| 5542 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_short_status_get" "', argument " "1"" of type '" "struct dbr_time_short *""'"); |
| 5543 | } |
| 5544 | arg1 = (struct dbr_time_short *)(argp1); |
| 5545 | result = ((arg1)->status); |
| 5546 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 5547 | return resultobj; |
| 5548 | fail: |
| 5549 | return NULL; |
| 5550 | } |
| 5551 | |
| 5552 | |
| 5553 | SWIGINTERN PyObject *_wrap_dbr_time_short_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5554 | PyObject *resultobj = 0; |
| 5555 | struct dbr_time_short *arg1 = (struct dbr_time_short *) 0 ; |
| 5556 | dbr_short_t arg2 ; |
| 5557 | void *argp1 = 0 ; |
| 5558 | int res1 = 0 ; |
| 5559 | void *argp2 ; |
| 5560 | int res2 = 0 ; |
| 5561 | PyObject * obj0 = 0 ; |
| 5562 | PyObject * obj1 = 0 ; |
| 5563 | |
| 5564 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_short_severity_set",&obj0,&obj1)) SWIG_fail; |
| 5565 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_short, 0 | 0 ); |
| 5566 | if (!SWIG_IsOK(res1)) { |
| 5567 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_short_severity_set" "', argument " "1"" of type '" "struct dbr_time_short *""'"); |
| 5568 | } |
| 5569 | arg1 = (struct dbr_time_short *)(argp1); |
| 5570 | { |
| 5571 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 5572 | if (!SWIG_IsOK(res2)) { |
| 5573 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_short_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5574 | } |
| 5575 | if (!argp2) { |
| 5576 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_short_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5577 | } else { |
| 5578 | arg2 = *((dbr_short_t *)(argp2)); |
| 5579 | } |
| 5580 | } |
| 5581 | if (arg1) (arg1)->severity = arg2; |
| 5582 | |
| 5583 | resultobj = SWIG_Py_Void(); |
| 5584 | return resultobj; |
| 5585 | fail: |
| 5586 | return NULL; |
| 5587 | } |
| 5588 | |
| 5589 | |
| 5590 | SWIGINTERN PyObject *_wrap_dbr_time_short_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5591 | PyObject *resultobj = 0; |
| 5592 | struct dbr_time_short *arg1 = (struct dbr_time_short *) 0 ; |
| 5593 | dbr_short_t result; |
| 5594 | void *argp1 = 0 ; |
| 5595 | int res1 = 0 ; |
| 5596 | PyObject * obj0 = 0 ; |
| 5597 | |
| 5598 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_short_severity_get",&obj0)) SWIG_fail; |
| 5599 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_short, 0 | 0 ); |
| 5600 | if (!SWIG_IsOK(res1)) { |
| 5601 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_short_severity_get" "', argument " "1"" of type '" "struct dbr_time_short *""'"); |
| 5602 | } |
| 5603 | arg1 = (struct dbr_time_short *)(argp1); |
| 5604 | result = ((arg1)->severity); |
| 5605 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 5606 | return resultobj; |
| 5607 | fail: |
| 5608 | return NULL; |
| 5609 | } |
| 5610 | |
| 5611 | |
| 5612 | SWIGINTERN PyObject *_wrap_dbr_time_short_stamp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5613 | PyObject *resultobj = 0; |
| 5614 | struct dbr_time_short *arg1 = (struct dbr_time_short *) 0 ; |
| 5615 | epicsTimeStamp arg2 ; |
| 5616 | void *argp1 = 0 ; |
| 5617 | int res1 = 0 ; |
| 5618 | void *argp2 ; |
| 5619 | int res2 = 0 ; |
| 5620 | PyObject * obj0 = 0 ; |
| 5621 | PyObject * obj1 = 0 ; |
| 5622 | |
| 5623 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_short_stamp_set",&obj0,&obj1)) SWIG_fail; |
| 5624 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_short, 0 | 0 ); |
| 5625 | if (!SWIG_IsOK(res1)) { |
| 5626 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_short_stamp_set" "', argument " "1"" of type '" "struct dbr_time_short *""'"); |
| 5627 | } |
| 5628 | arg1 = (struct dbr_time_short *)(argp1); |
| 5629 | { |
| 5630 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsTimeStamp, 0 ); |
| 5631 | if (!SWIG_IsOK(res2)) { |
| 5632 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_short_stamp_set" "', argument " "2"" of type '" "epicsTimeStamp""'"); |
| 5633 | } |
| 5634 | if (!argp2) { |
| 5635 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_short_stamp_set" "', argument " "2"" of type '" "epicsTimeStamp""'"); |
| 5636 | } else { |
| 5637 | arg2 = *((epicsTimeStamp *)(argp2)); |
| 5638 | } |
| 5639 | } |
| 5640 | if (arg1) (arg1)->stamp = arg2; |
| 5641 | |
| 5642 | resultobj = SWIG_Py_Void(); |
| 5643 | return resultobj; |
| 5644 | fail: |
| 5645 | return NULL; |
| 5646 | } |
| 5647 | |
| 5648 | |
| 5649 | SWIGINTERN PyObject *_wrap_dbr_time_short_stamp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5650 | PyObject *resultobj = 0; |
| 5651 | struct dbr_time_short *arg1 = (struct dbr_time_short *) 0 ; |
| 5652 | epicsTimeStamp result; |
| 5653 | void *argp1 = 0 ; |
| 5654 | int res1 = 0 ; |
| 5655 | PyObject * obj0 = 0 ; |
| 5656 | |
| 5657 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_short_stamp_get",&obj0)) SWIG_fail; |
| 5658 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_short, 0 | 0 ); |
| 5659 | if (!SWIG_IsOK(res1)) { |
| 5660 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_short_stamp_get" "', argument " "1"" of type '" "struct dbr_time_short *""'"); |
| 5661 | } |
| 5662 | arg1 = (struct dbr_time_short *)(argp1); |
| 5663 | result = ((arg1)->stamp); |
| 5664 | resultobj = SWIG_NewPointerObj((epicsTimeStamp *)memcpy((epicsTimeStamp *)malloc(sizeof(epicsTimeStamp)),&result,sizeof(epicsTimeStamp)), SWIGTYPE_p_epicsTimeStamp, SWIG_POINTER_OWN | 0 ); |
| 5665 | return resultobj; |
| 5666 | fail: |
| 5667 | return NULL; |
| 5668 | } |
| 5669 | |
| 5670 | |
| 5671 | SWIGINTERN PyObject *_wrap_dbr_time_short_RISC_pad_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5672 | PyObject *resultobj = 0; |
| 5673 | struct dbr_time_short *arg1 = (struct dbr_time_short *) 0 ; |
| 5674 | dbr_short_t arg2 ; |
| 5675 | void *argp1 = 0 ; |
| 5676 | int res1 = 0 ; |
| 5677 | void *argp2 ; |
| 5678 | int res2 = 0 ; |
| 5679 | PyObject * obj0 = 0 ; |
| 5680 | PyObject * obj1 = 0 ; |
| 5681 | |
| 5682 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_short_RISC_pad_set",&obj0,&obj1)) SWIG_fail; |
| 5683 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_short, 0 | 0 ); |
| 5684 | if (!SWIG_IsOK(res1)) { |
| 5685 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_short_RISC_pad_set" "', argument " "1"" of type '" "struct dbr_time_short *""'"); |
| 5686 | } |
| 5687 | arg1 = (struct dbr_time_short *)(argp1); |
| 5688 | { |
| 5689 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 5690 | if (!SWIG_IsOK(res2)) { |
| 5691 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_short_RISC_pad_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5692 | } |
| 5693 | if (!argp2) { |
| 5694 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_short_RISC_pad_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5695 | } else { |
| 5696 | arg2 = *((dbr_short_t *)(argp2)); |
| 5697 | } |
| 5698 | } |
| 5699 | if (arg1) (arg1)->RISC_pad = arg2; |
| 5700 | |
| 5701 | resultobj = SWIG_Py_Void(); |
| 5702 | return resultobj; |
| 5703 | fail: |
| 5704 | return NULL; |
| 5705 | } |
| 5706 | |
| 5707 | |
| 5708 | SWIGINTERN PyObject *_wrap_dbr_time_short_RISC_pad_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5709 | PyObject *resultobj = 0; |
| 5710 | struct dbr_time_short *arg1 = (struct dbr_time_short *) 0 ; |
| 5711 | dbr_short_t result; |
| 5712 | void *argp1 = 0 ; |
| 5713 | int res1 = 0 ; |
| 5714 | PyObject * obj0 = 0 ; |
| 5715 | |
| 5716 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_short_RISC_pad_get",&obj0)) SWIG_fail; |
| 5717 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_short, 0 | 0 ); |
| 5718 | if (!SWIG_IsOK(res1)) { |
| 5719 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_short_RISC_pad_get" "', argument " "1"" of type '" "struct dbr_time_short *""'"); |
| 5720 | } |
| 5721 | arg1 = (struct dbr_time_short *)(argp1); |
| 5722 | result = ((arg1)->RISC_pad); |
| 5723 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 5724 | return resultobj; |
| 5725 | fail: |
| 5726 | return NULL; |
| 5727 | } |
| 5728 | |
| 5729 | |
| 5730 | SWIGINTERN PyObject *_wrap_dbr_time_short_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5731 | PyObject *resultobj = 0; |
| 5732 | struct dbr_time_short *arg1 = (struct dbr_time_short *) 0 ; |
| 5733 | dbr_short_t arg2 ; |
| 5734 | void *argp1 = 0 ; |
| 5735 | int res1 = 0 ; |
| 5736 | void *argp2 ; |
| 5737 | int res2 = 0 ; |
| 5738 | PyObject * obj0 = 0 ; |
| 5739 | PyObject * obj1 = 0 ; |
| 5740 | |
| 5741 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_short_value_set",&obj0,&obj1)) SWIG_fail; |
| 5742 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_short, 0 | 0 ); |
| 5743 | if (!SWIG_IsOK(res1)) { |
| 5744 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_short_value_set" "', argument " "1"" of type '" "struct dbr_time_short *""'"); |
| 5745 | } |
| 5746 | arg1 = (struct dbr_time_short *)(argp1); |
| 5747 | { |
| 5748 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 5749 | if (!SWIG_IsOK(res2)) { |
| 5750 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_short_value_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5751 | } |
| 5752 | if (!argp2) { |
| 5753 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_short_value_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5754 | } else { |
| 5755 | arg2 = *((dbr_short_t *)(argp2)); |
| 5756 | } |
| 5757 | } |
| 5758 | if (arg1) (arg1)->value = arg2; |
| 5759 | |
| 5760 | resultobj = SWIG_Py_Void(); |
| 5761 | return resultobj; |
| 5762 | fail: |
| 5763 | return NULL; |
| 5764 | } |
| 5765 | |
| 5766 | |
| 5767 | SWIGINTERN PyObject *_wrap_dbr_time_short_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5768 | PyObject *resultobj = 0; |
| 5769 | struct dbr_time_short *arg1 = (struct dbr_time_short *) 0 ; |
| 5770 | dbr_short_t result; |
| 5771 | void *argp1 = 0 ; |
| 5772 | int res1 = 0 ; |
| 5773 | PyObject * obj0 = 0 ; |
| 5774 | |
| 5775 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_short_value_get",&obj0)) SWIG_fail; |
| 5776 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_short, 0 | 0 ); |
| 5777 | if (!SWIG_IsOK(res1)) { |
| 5778 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_short_value_get" "', argument " "1"" of type '" "struct dbr_time_short *""'"); |
| 5779 | } |
| 5780 | arg1 = (struct dbr_time_short *)(argp1); |
| 5781 | result = ((arg1)->value); |
| 5782 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 5783 | return resultobj; |
| 5784 | fail: |
| 5785 | return NULL; |
| 5786 | } |
| 5787 | |
| 5788 | |
| 5789 | SWIGINTERN PyObject *_wrap_new_dbr_time_short(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5790 | PyObject *resultobj = 0; |
| 5791 | struct dbr_time_short *result = 0 ; |
| 5792 | |
| 5793 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_time_short")) SWIG_fail; |
| 5794 | result = (struct dbr_time_short *)(struct dbr_time_short *) calloc(1, sizeof(struct dbr_time_short)); |
| 5795 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_time_short, SWIG_POINTER_NEW | 0 ); |
| 5796 | return resultobj; |
| 5797 | fail: |
| 5798 | return NULL; |
| 5799 | } |
| 5800 | |
| 5801 | |
| 5802 | SWIGINTERN PyObject *_wrap_delete_dbr_time_short(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5803 | PyObject *resultobj = 0; |
| 5804 | struct dbr_time_short *arg1 = (struct dbr_time_short *) 0 ; |
| 5805 | void *argp1 = 0 ; |
| 5806 | int res1 = 0 ; |
| 5807 | PyObject * obj0 = 0 ; |
| 5808 | |
| 5809 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_time_short",&obj0)) SWIG_fail; |
| 5810 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_short, SWIG_POINTER_DISOWN | 0 ); |
| 5811 | if (!SWIG_IsOK(res1)) { |
| 5812 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_time_short" "', argument " "1"" of type '" "struct dbr_time_short *""'"); |
| 5813 | } |
| 5814 | arg1 = (struct dbr_time_short *)(argp1); |
| 5815 | free((char *) arg1); |
| 5816 | |
| 5817 | resultobj = SWIG_Py_Void(); |
| 5818 | return resultobj; |
| 5819 | fail: |
| 5820 | return NULL; |
| 5821 | } |
| 5822 | |
| 5823 | |
| 5824 | SWIGINTERN PyObject *dbr_time_short_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5825 | PyObject *obj; |
| 5826 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 5827 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_time_short, SWIG_NewClientData(obj)); |
| 5828 | return SWIG_Py_Void(); |
| 5829 | } |
| 5830 | |
| 5831 | SWIGINTERN PyObject *_wrap_dbr_time_float_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5832 | PyObject *resultobj = 0; |
| 5833 | struct dbr_time_float *arg1 = (struct dbr_time_float *) 0 ; |
| 5834 | dbr_short_t arg2 ; |
| 5835 | void *argp1 = 0 ; |
| 5836 | int res1 = 0 ; |
| 5837 | void *argp2 ; |
| 5838 | int res2 = 0 ; |
| 5839 | PyObject * obj0 = 0 ; |
| 5840 | PyObject * obj1 = 0 ; |
| 5841 | |
| 5842 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_float_status_set",&obj0,&obj1)) SWIG_fail; |
| 5843 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_float, 0 | 0 ); |
| 5844 | if (!SWIG_IsOK(res1)) { |
| 5845 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_float_status_set" "', argument " "1"" of type '" "struct dbr_time_float *""'"); |
| 5846 | } |
| 5847 | arg1 = (struct dbr_time_float *)(argp1); |
| 5848 | { |
| 5849 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 5850 | if (!SWIG_IsOK(res2)) { |
| 5851 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_float_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5852 | } |
| 5853 | if (!argp2) { |
| 5854 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_float_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5855 | } else { |
| 5856 | arg2 = *((dbr_short_t *)(argp2)); |
| 5857 | } |
| 5858 | } |
| 5859 | if (arg1) (arg1)->status = arg2; |
| 5860 | |
| 5861 | resultobj = SWIG_Py_Void(); |
| 5862 | return resultobj; |
| 5863 | fail: |
| 5864 | return NULL; |
| 5865 | } |
| 5866 | |
| 5867 | |
| 5868 | SWIGINTERN PyObject *_wrap_dbr_time_float_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5869 | PyObject *resultobj = 0; |
| 5870 | struct dbr_time_float *arg1 = (struct dbr_time_float *) 0 ; |
| 5871 | dbr_short_t result; |
| 5872 | void *argp1 = 0 ; |
| 5873 | int res1 = 0 ; |
| 5874 | PyObject * obj0 = 0 ; |
| 5875 | |
| 5876 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_float_status_get",&obj0)) SWIG_fail; |
| 5877 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_float, 0 | 0 ); |
| 5878 | if (!SWIG_IsOK(res1)) { |
| 5879 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_float_status_get" "', argument " "1"" of type '" "struct dbr_time_float *""'"); |
| 5880 | } |
| 5881 | arg1 = (struct dbr_time_float *)(argp1); |
| 5882 | result = ((arg1)->status); |
| 5883 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 5884 | return resultobj; |
| 5885 | fail: |
| 5886 | return NULL; |
| 5887 | } |
| 5888 | |
| 5889 | |
| 5890 | SWIGINTERN PyObject *_wrap_dbr_time_float_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5891 | PyObject *resultobj = 0; |
| 5892 | struct dbr_time_float *arg1 = (struct dbr_time_float *) 0 ; |
| 5893 | dbr_short_t arg2 ; |
| 5894 | void *argp1 = 0 ; |
| 5895 | int res1 = 0 ; |
| 5896 | void *argp2 ; |
| 5897 | int res2 = 0 ; |
| 5898 | PyObject * obj0 = 0 ; |
| 5899 | PyObject * obj1 = 0 ; |
| 5900 | |
| 5901 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_float_severity_set",&obj0,&obj1)) SWIG_fail; |
| 5902 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_float, 0 | 0 ); |
| 5903 | if (!SWIG_IsOK(res1)) { |
| 5904 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_float_severity_set" "', argument " "1"" of type '" "struct dbr_time_float *""'"); |
| 5905 | } |
| 5906 | arg1 = (struct dbr_time_float *)(argp1); |
| 5907 | { |
| 5908 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 5909 | if (!SWIG_IsOK(res2)) { |
| 5910 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_float_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5911 | } |
| 5912 | if (!argp2) { |
| 5913 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_float_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 5914 | } else { |
| 5915 | arg2 = *((dbr_short_t *)(argp2)); |
| 5916 | } |
| 5917 | } |
| 5918 | if (arg1) (arg1)->severity = arg2; |
| 5919 | |
| 5920 | resultobj = SWIG_Py_Void(); |
| 5921 | return resultobj; |
| 5922 | fail: |
| 5923 | return NULL; |
| 5924 | } |
| 5925 | |
| 5926 | |
| 5927 | SWIGINTERN PyObject *_wrap_dbr_time_float_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5928 | PyObject *resultobj = 0; |
| 5929 | struct dbr_time_float *arg1 = (struct dbr_time_float *) 0 ; |
| 5930 | dbr_short_t result; |
| 5931 | void *argp1 = 0 ; |
| 5932 | int res1 = 0 ; |
| 5933 | PyObject * obj0 = 0 ; |
| 5934 | |
| 5935 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_float_severity_get",&obj0)) SWIG_fail; |
| 5936 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_float, 0 | 0 ); |
| 5937 | if (!SWIG_IsOK(res1)) { |
| 5938 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_float_severity_get" "', argument " "1"" of type '" "struct dbr_time_float *""'"); |
| 5939 | } |
| 5940 | arg1 = (struct dbr_time_float *)(argp1); |
| 5941 | result = ((arg1)->severity); |
| 5942 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 5943 | return resultobj; |
| 5944 | fail: |
| 5945 | return NULL; |
| 5946 | } |
| 5947 | |
| 5948 | |
| 5949 | SWIGINTERN PyObject *_wrap_dbr_time_float_stamp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5950 | PyObject *resultobj = 0; |
| 5951 | struct dbr_time_float *arg1 = (struct dbr_time_float *) 0 ; |
| 5952 | epicsTimeStamp arg2 ; |
| 5953 | void *argp1 = 0 ; |
| 5954 | int res1 = 0 ; |
| 5955 | void *argp2 ; |
| 5956 | int res2 = 0 ; |
| 5957 | PyObject * obj0 = 0 ; |
| 5958 | PyObject * obj1 = 0 ; |
| 5959 | |
| 5960 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_float_stamp_set",&obj0,&obj1)) SWIG_fail; |
| 5961 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_float, 0 | 0 ); |
| 5962 | if (!SWIG_IsOK(res1)) { |
| 5963 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_float_stamp_set" "', argument " "1"" of type '" "struct dbr_time_float *""'"); |
| 5964 | } |
| 5965 | arg1 = (struct dbr_time_float *)(argp1); |
| 5966 | { |
| 5967 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsTimeStamp, 0 ); |
| 5968 | if (!SWIG_IsOK(res2)) { |
| 5969 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_float_stamp_set" "', argument " "2"" of type '" "epicsTimeStamp""'"); |
| 5970 | } |
| 5971 | if (!argp2) { |
| 5972 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_float_stamp_set" "', argument " "2"" of type '" "epicsTimeStamp""'"); |
| 5973 | } else { |
| 5974 | arg2 = *((epicsTimeStamp *)(argp2)); |
| 5975 | } |
| 5976 | } |
| 5977 | if (arg1) (arg1)->stamp = arg2; |
| 5978 | |
| 5979 | resultobj = SWIG_Py_Void(); |
| 5980 | return resultobj; |
| 5981 | fail: |
| 5982 | return NULL; |
| 5983 | } |
| 5984 | |
| 5985 | |
| 5986 | SWIGINTERN PyObject *_wrap_dbr_time_float_stamp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 5987 | PyObject *resultobj = 0; |
| 5988 | struct dbr_time_float *arg1 = (struct dbr_time_float *) 0 ; |
| 5989 | epicsTimeStamp result; |
| 5990 | void *argp1 = 0 ; |
| 5991 | int res1 = 0 ; |
| 5992 | PyObject * obj0 = 0 ; |
| 5993 | |
| 5994 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_float_stamp_get",&obj0)) SWIG_fail; |
| 5995 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_float, 0 | 0 ); |
| 5996 | if (!SWIG_IsOK(res1)) { |
| 5997 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_float_stamp_get" "', argument " "1"" of type '" "struct dbr_time_float *""'"); |
| 5998 | } |
| 5999 | arg1 = (struct dbr_time_float *)(argp1); |
| 6000 | result = ((arg1)->stamp); |
| 6001 | resultobj = SWIG_NewPointerObj((epicsTimeStamp *)memcpy((epicsTimeStamp *)malloc(sizeof(epicsTimeStamp)),&result,sizeof(epicsTimeStamp)), SWIGTYPE_p_epicsTimeStamp, SWIG_POINTER_OWN | 0 ); |
| 6002 | return resultobj; |
| 6003 | fail: |
| 6004 | return NULL; |
| 6005 | } |
| 6006 | |
| 6007 | |
| 6008 | SWIGINTERN PyObject *_wrap_dbr_time_float_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6009 | PyObject *resultobj = 0; |
| 6010 | struct dbr_time_float *arg1 = (struct dbr_time_float *) 0 ; |
| 6011 | dbr_float_t arg2 ; |
| 6012 | void *argp1 = 0 ; |
| 6013 | int res1 = 0 ; |
| 6014 | void *argp2 ; |
| 6015 | int res2 = 0 ; |
| 6016 | PyObject * obj0 = 0 ; |
| 6017 | PyObject * obj1 = 0 ; |
| 6018 | |
| 6019 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_float_value_set",&obj0,&obj1)) SWIG_fail; |
| 6020 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_float, 0 | 0 ); |
| 6021 | if (!SWIG_IsOK(res1)) { |
| 6022 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_float_value_set" "', argument " "1"" of type '" "struct dbr_time_float *""'"); |
| 6023 | } |
| 6024 | arg1 = (struct dbr_time_float *)(argp1); |
| 6025 | { |
| 6026 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsFloat32, 0 ); |
| 6027 | if (!SWIG_IsOK(res2)) { |
| 6028 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_float_value_set" "', argument " "2"" of type '" "dbr_float_t""'"); |
| 6029 | } |
| 6030 | if (!argp2) { |
| 6031 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_float_value_set" "', argument " "2"" of type '" "dbr_float_t""'"); |
| 6032 | } else { |
| 6033 | arg2 = *((dbr_float_t *)(argp2)); |
| 6034 | } |
| 6035 | } |
| 6036 | if (arg1) (arg1)->value = arg2; |
| 6037 | |
| 6038 | resultobj = SWIG_Py_Void(); |
| 6039 | return resultobj; |
| 6040 | fail: |
| 6041 | return NULL; |
| 6042 | } |
| 6043 | |
| 6044 | |
| 6045 | SWIGINTERN PyObject *_wrap_dbr_time_float_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6046 | PyObject *resultobj = 0; |
| 6047 | struct dbr_time_float *arg1 = (struct dbr_time_float *) 0 ; |
| 6048 | dbr_float_t result; |
| 6049 | void *argp1 = 0 ; |
| 6050 | int res1 = 0 ; |
| 6051 | PyObject * obj0 = 0 ; |
| 6052 | |
| 6053 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_float_value_get",&obj0)) SWIG_fail; |
| 6054 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_float, 0 | 0 ); |
| 6055 | if (!SWIG_IsOK(res1)) { |
| 6056 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_float_value_get" "', argument " "1"" of type '" "struct dbr_time_float *""'"); |
| 6057 | } |
| 6058 | arg1 = (struct dbr_time_float *)(argp1); |
| 6059 | result = ((arg1)->value); |
| 6060 | resultobj = SWIG_NewPointerObj((dbr_float_t *)memcpy((dbr_float_t *)malloc(sizeof(dbr_float_t)),&result,sizeof(dbr_float_t)), SWIGTYPE_p_epicsFloat32, SWIG_POINTER_OWN | 0 ); |
| 6061 | return resultobj; |
| 6062 | fail: |
| 6063 | return NULL; |
| 6064 | } |
| 6065 | |
| 6066 | |
| 6067 | SWIGINTERN PyObject *_wrap_new_dbr_time_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6068 | PyObject *resultobj = 0; |
| 6069 | struct dbr_time_float *result = 0 ; |
| 6070 | |
| 6071 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_time_float")) SWIG_fail; |
| 6072 | result = (struct dbr_time_float *)(struct dbr_time_float *) calloc(1, sizeof(struct dbr_time_float)); |
| 6073 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_time_float, SWIG_POINTER_NEW | 0 ); |
| 6074 | return resultobj; |
| 6075 | fail: |
| 6076 | return NULL; |
| 6077 | } |
| 6078 | |
| 6079 | |
| 6080 | SWIGINTERN PyObject *_wrap_delete_dbr_time_float(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6081 | PyObject *resultobj = 0; |
| 6082 | struct dbr_time_float *arg1 = (struct dbr_time_float *) 0 ; |
| 6083 | void *argp1 = 0 ; |
| 6084 | int res1 = 0 ; |
| 6085 | PyObject * obj0 = 0 ; |
| 6086 | |
| 6087 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_time_float",&obj0)) SWIG_fail; |
| 6088 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_float, SWIG_POINTER_DISOWN | 0 ); |
| 6089 | if (!SWIG_IsOK(res1)) { |
| 6090 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_time_float" "', argument " "1"" of type '" "struct dbr_time_float *""'"); |
| 6091 | } |
| 6092 | arg1 = (struct dbr_time_float *)(argp1); |
| 6093 | free((char *) arg1); |
| 6094 | |
| 6095 | resultobj = SWIG_Py_Void(); |
| 6096 | return resultobj; |
| 6097 | fail: |
| 6098 | return NULL; |
| 6099 | } |
| 6100 | |
| 6101 | |
| 6102 | SWIGINTERN PyObject *dbr_time_float_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6103 | PyObject *obj; |
| 6104 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 6105 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_time_float, SWIG_NewClientData(obj)); |
| 6106 | return SWIG_Py_Void(); |
| 6107 | } |
| 6108 | |
| 6109 | SWIGINTERN PyObject *_wrap_dbr_time_enum_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6110 | PyObject *resultobj = 0; |
| 6111 | struct dbr_time_enum *arg1 = (struct dbr_time_enum *) 0 ; |
| 6112 | dbr_short_t arg2 ; |
| 6113 | void *argp1 = 0 ; |
| 6114 | int res1 = 0 ; |
| 6115 | void *argp2 ; |
| 6116 | int res2 = 0 ; |
| 6117 | PyObject * obj0 = 0 ; |
| 6118 | PyObject * obj1 = 0 ; |
| 6119 | |
| 6120 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_enum_status_set",&obj0,&obj1)) SWIG_fail; |
| 6121 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_enum, 0 | 0 ); |
| 6122 | if (!SWIG_IsOK(res1)) { |
| 6123 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_enum_status_set" "', argument " "1"" of type '" "struct dbr_time_enum *""'"); |
| 6124 | } |
| 6125 | arg1 = (struct dbr_time_enum *)(argp1); |
| 6126 | { |
| 6127 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 6128 | if (!SWIG_IsOK(res2)) { |
| 6129 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_enum_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6130 | } |
| 6131 | if (!argp2) { |
| 6132 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_enum_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6133 | } else { |
| 6134 | arg2 = *((dbr_short_t *)(argp2)); |
| 6135 | } |
| 6136 | } |
| 6137 | if (arg1) (arg1)->status = arg2; |
| 6138 | |
| 6139 | resultobj = SWIG_Py_Void(); |
| 6140 | return resultobj; |
| 6141 | fail: |
| 6142 | return NULL; |
| 6143 | } |
| 6144 | |
| 6145 | |
| 6146 | SWIGINTERN PyObject *_wrap_dbr_time_enum_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6147 | PyObject *resultobj = 0; |
| 6148 | struct dbr_time_enum *arg1 = (struct dbr_time_enum *) 0 ; |
| 6149 | dbr_short_t result; |
| 6150 | void *argp1 = 0 ; |
| 6151 | int res1 = 0 ; |
| 6152 | PyObject * obj0 = 0 ; |
| 6153 | |
| 6154 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_enum_status_get",&obj0)) SWIG_fail; |
| 6155 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_enum, 0 | 0 ); |
| 6156 | if (!SWIG_IsOK(res1)) { |
| 6157 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_enum_status_get" "', argument " "1"" of type '" "struct dbr_time_enum *""'"); |
| 6158 | } |
| 6159 | arg1 = (struct dbr_time_enum *)(argp1); |
| 6160 | result = ((arg1)->status); |
| 6161 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 6162 | return resultobj; |
| 6163 | fail: |
| 6164 | return NULL; |
| 6165 | } |
| 6166 | |
| 6167 | |
| 6168 | SWIGINTERN PyObject *_wrap_dbr_time_enum_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6169 | PyObject *resultobj = 0; |
| 6170 | struct dbr_time_enum *arg1 = (struct dbr_time_enum *) 0 ; |
| 6171 | dbr_short_t arg2 ; |
| 6172 | void *argp1 = 0 ; |
| 6173 | int res1 = 0 ; |
| 6174 | void *argp2 ; |
| 6175 | int res2 = 0 ; |
| 6176 | PyObject * obj0 = 0 ; |
| 6177 | PyObject * obj1 = 0 ; |
| 6178 | |
| 6179 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_enum_severity_set",&obj0,&obj1)) SWIG_fail; |
| 6180 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_enum, 0 | 0 ); |
| 6181 | if (!SWIG_IsOK(res1)) { |
| 6182 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_enum_severity_set" "', argument " "1"" of type '" "struct dbr_time_enum *""'"); |
| 6183 | } |
| 6184 | arg1 = (struct dbr_time_enum *)(argp1); |
| 6185 | { |
| 6186 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 6187 | if (!SWIG_IsOK(res2)) { |
| 6188 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_enum_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6189 | } |
| 6190 | if (!argp2) { |
| 6191 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_enum_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6192 | } else { |
| 6193 | arg2 = *((dbr_short_t *)(argp2)); |
| 6194 | } |
| 6195 | } |
| 6196 | if (arg1) (arg1)->severity = arg2; |
| 6197 | |
| 6198 | resultobj = SWIG_Py_Void(); |
| 6199 | return resultobj; |
| 6200 | fail: |
| 6201 | return NULL; |
| 6202 | } |
| 6203 | |
| 6204 | |
| 6205 | SWIGINTERN PyObject *_wrap_dbr_time_enum_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6206 | PyObject *resultobj = 0; |
| 6207 | struct dbr_time_enum *arg1 = (struct dbr_time_enum *) 0 ; |
| 6208 | dbr_short_t result; |
| 6209 | void *argp1 = 0 ; |
| 6210 | int res1 = 0 ; |
| 6211 | PyObject * obj0 = 0 ; |
| 6212 | |
| 6213 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_enum_severity_get",&obj0)) SWIG_fail; |
| 6214 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_enum, 0 | 0 ); |
| 6215 | if (!SWIG_IsOK(res1)) { |
| 6216 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_enum_severity_get" "', argument " "1"" of type '" "struct dbr_time_enum *""'"); |
| 6217 | } |
| 6218 | arg1 = (struct dbr_time_enum *)(argp1); |
| 6219 | result = ((arg1)->severity); |
| 6220 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 6221 | return resultobj; |
| 6222 | fail: |
| 6223 | return NULL; |
| 6224 | } |
| 6225 | |
| 6226 | |
| 6227 | SWIGINTERN PyObject *_wrap_dbr_time_enum_stamp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6228 | PyObject *resultobj = 0; |
| 6229 | struct dbr_time_enum *arg1 = (struct dbr_time_enum *) 0 ; |
| 6230 | epicsTimeStamp arg2 ; |
| 6231 | void *argp1 = 0 ; |
| 6232 | int res1 = 0 ; |
| 6233 | void *argp2 ; |
| 6234 | int res2 = 0 ; |
| 6235 | PyObject * obj0 = 0 ; |
| 6236 | PyObject * obj1 = 0 ; |
| 6237 | |
| 6238 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_enum_stamp_set",&obj0,&obj1)) SWIG_fail; |
| 6239 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_enum, 0 | 0 ); |
| 6240 | if (!SWIG_IsOK(res1)) { |
| 6241 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_enum_stamp_set" "', argument " "1"" of type '" "struct dbr_time_enum *""'"); |
| 6242 | } |
| 6243 | arg1 = (struct dbr_time_enum *)(argp1); |
| 6244 | { |
| 6245 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsTimeStamp, 0 ); |
| 6246 | if (!SWIG_IsOK(res2)) { |
| 6247 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_enum_stamp_set" "', argument " "2"" of type '" "epicsTimeStamp""'"); |
| 6248 | } |
| 6249 | if (!argp2) { |
| 6250 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_enum_stamp_set" "', argument " "2"" of type '" "epicsTimeStamp""'"); |
| 6251 | } else { |
| 6252 | arg2 = *((epicsTimeStamp *)(argp2)); |
| 6253 | } |
| 6254 | } |
| 6255 | if (arg1) (arg1)->stamp = arg2; |
| 6256 | |
| 6257 | resultobj = SWIG_Py_Void(); |
| 6258 | return resultobj; |
| 6259 | fail: |
| 6260 | return NULL; |
| 6261 | } |
| 6262 | |
| 6263 | |
| 6264 | SWIGINTERN PyObject *_wrap_dbr_time_enum_stamp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6265 | PyObject *resultobj = 0; |
| 6266 | struct dbr_time_enum *arg1 = (struct dbr_time_enum *) 0 ; |
| 6267 | epicsTimeStamp result; |
| 6268 | void *argp1 = 0 ; |
| 6269 | int res1 = 0 ; |
| 6270 | PyObject * obj0 = 0 ; |
| 6271 | |
| 6272 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_enum_stamp_get",&obj0)) SWIG_fail; |
| 6273 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_enum, 0 | 0 ); |
| 6274 | if (!SWIG_IsOK(res1)) { |
| 6275 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_enum_stamp_get" "', argument " "1"" of type '" "struct dbr_time_enum *""'"); |
| 6276 | } |
| 6277 | arg1 = (struct dbr_time_enum *)(argp1); |
| 6278 | result = ((arg1)->stamp); |
| 6279 | resultobj = SWIG_NewPointerObj((epicsTimeStamp *)memcpy((epicsTimeStamp *)malloc(sizeof(epicsTimeStamp)),&result,sizeof(epicsTimeStamp)), SWIGTYPE_p_epicsTimeStamp, SWIG_POINTER_OWN | 0 ); |
| 6280 | return resultobj; |
| 6281 | fail: |
| 6282 | return NULL; |
| 6283 | } |
| 6284 | |
| 6285 | |
| 6286 | SWIGINTERN PyObject *_wrap_dbr_time_enum_RISC_pad_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6287 | PyObject *resultobj = 0; |
| 6288 | struct dbr_time_enum *arg1 = (struct dbr_time_enum *) 0 ; |
| 6289 | dbr_short_t arg2 ; |
| 6290 | void *argp1 = 0 ; |
| 6291 | int res1 = 0 ; |
| 6292 | void *argp2 ; |
| 6293 | int res2 = 0 ; |
| 6294 | PyObject * obj0 = 0 ; |
| 6295 | PyObject * obj1 = 0 ; |
| 6296 | |
| 6297 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_enum_RISC_pad_set",&obj0,&obj1)) SWIG_fail; |
| 6298 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_enum, 0 | 0 ); |
| 6299 | if (!SWIG_IsOK(res1)) { |
| 6300 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_enum_RISC_pad_set" "', argument " "1"" of type '" "struct dbr_time_enum *""'"); |
| 6301 | } |
| 6302 | arg1 = (struct dbr_time_enum *)(argp1); |
| 6303 | { |
| 6304 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 6305 | if (!SWIG_IsOK(res2)) { |
| 6306 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_enum_RISC_pad_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6307 | } |
| 6308 | if (!argp2) { |
| 6309 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_enum_RISC_pad_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6310 | } else { |
| 6311 | arg2 = *((dbr_short_t *)(argp2)); |
| 6312 | } |
| 6313 | } |
| 6314 | if (arg1) (arg1)->RISC_pad = arg2; |
| 6315 | |
| 6316 | resultobj = SWIG_Py_Void(); |
| 6317 | return resultobj; |
| 6318 | fail: |
| 6319 | return NULL; |
| 6320 | } |
| 6321 | |
| 6322 | |
| 6323 | SWIGINTERN PyObject *_wrap_dbr_time_enum_RISC_pad_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6324 | PyObject *resultobj = 0; |
| 6325 | struct dbr_time_enum *arg1 = (struct dbr_time_enum *) 0 ; |
| 6326 | dbr_short_t result; |
| 6327 | void *argp1 = 0 ; |
| 6328 | int res1 = 0 ; |
| 6329 | PyObject * obj0 = 0 ; |
| 6330 | |
| 6331 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_enum_RISC_pad_get",&obj0)) SWIG_fail; |
| 6332 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_enum, 0 | 0 ); |
| 6333 | if (!SWIG_IsOK(res1)) { |
| 6334 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_enum_RISC_pad_get" "', argument " "1"" of type '" "struct dbr_time_enum *""'"); |
| 6335 | } |
| 6336 | arg1 = (struct dbr_time_enum *)(argp1); |
| 6337 | result = ((arg1)->RISC_pad); |
| 6338 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 6339 | return resultobj; |
| 6340 | fail: |
| 6341 | return NULL; |
| 6342 | } |
| 6343 | |
| 6344 | |
| 6345 | SWIGINTERN PyObject *_wrap_dbr_time_enum_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6346 | PyObject *resultobj = 0; |
| 6347 | struct dbr_time_enum *arg1 = (struct dbr_time_enum *) 0 ; |
| 6348 | dbr_enum_t arg2 ; |
| 6349 | void *argp1 = 0 ; |
| 6350 | int res1 = 0 ; |
| 6351 | void *argp2 ; |
| 6352 | int res2 = 0 ; |
| 6353 | PyObject * obj0 = 0 ; |
| 6354 | PyObject * obj1 = 0 ; |
| 6355 | |
| 6356 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_enum_value_set",&obj0,&obj1)) SWIG_fail; |
| 6357 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_enum, 0 | 0 ); |
| 6358 | if (!SWIG_IsOK(res1)) { |
| 6359 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_enum_value_set" "', argument " "1"" of type '" "struct dbr_time_enum *""'"); |
| 6360 | } |
| 6361 | arg1 = (struct dbr_time_enum *)(argp1); |
| 6362 | { |
| 6363 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsUInt16, 0 ); |
| 6364 | if (!SWIG_IsOK(res2)) { |
| 6365 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_enum_value_set" "', argument " "2"" of type '" "dbr_enum_t""'"); |
| 6366 | } |
| 6367 | if (!argp2) { |
| 6368 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_enum_value_set" "', argument " "2"" of type '" "dbr_enum_t""'"); |
| 6369 | } else { |
| 6370 | arg2 = *((dbr_enum_t *)(argp2)); |
| 6371 | } |
| 6372 | } |
| 6373 | if (arg1) (arg1)->value = arg2; |
| 6374 | |
| 6375 | resultobj = SWIG_Py_Void(); |
| 6376 | return resultobj; |
| 6377 | fail: |
| 6378 | return NULL; |
| 6379 | } |
| 6380 | |
| 6381 | |
| 6382 | SWIGINTERN PyObject *_wrap_dbr_time_enum_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6383 | PyObject *resultobj = 0; |
| 6384 | struct dbr_time_enum *arg1 = (struct dbr_time_enum *) 0 ; |
| 6385 | dbr_enum_t result; |
| 6386 | void *argp1 = 0 ; |
| 6387 | int res1 = 0 ; |
| 6388 | PyObject * obj0 = 0 ; |
| 6389 | |
| 6390 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_enum_value_get",&obj0)) SWIG_fail; |
| 6391 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_enum, 0 | 0 ); |
| 6392 | if (!SWIG_IsOK(res1)) { |
| 6393 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_enum_value_get" "', argument " "1"" of type '" "struct dbr_time_enum *""'"); |
| 6394 | } |
| 6395 | arg1 = (struct dbr_time_enum *)(argp1); |
| 6396 | result = ((arg1)->value); |
| 6397 | resultobj = SWIG_NewPointerObj((dbr_enum_t *)memcpy((dbr_enum_t *)malloc(sizeof(dbr_enum_t)),&result,sizeof(dbr_enum_t)), SWIGTYPE_p_epicsUInt16, SWIG_POINTER_OWN | 0 ); |
| 6398 | return resultobj; |
| 6399 | fail: |
| 6400 | return NULL; |
| 6401 | } |
| 6402 | |
| 6403 | |
| 6404 | SWIGINTERN PyObject *_wrap_new_dbr_time_enum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6405 | PyObject *resultobj = 0; |
| 6406 | struct dbr_time_enum *result = 0 ; |
| 6407 | |
| 6408 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_time_enum")) SWIG_fail; |
| 6409 | result = (struct dbr_time_enum *)(struct dbr_time_enum *) calloc(1, sizeof(struct dbr_time_enum)); |
| 6410 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_time_enum, SWIG_POINTER_NEW | 0 ); |
| 6411 | return resultobj; |
| 6412 | fail: |
| 6413 | return NULL; |
| 6414 | } |
| 6415 | |
| 6416 | |
| 6417 | SWIGINTERN PyObject *_wrap_delete_dbr_time_enum(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6418 | PyObject *resultobj = 0; |
| 6419 | struct dbr_time_enum *arg1 = (struct dbr_time_enum *) 0 ; |
| 6420 | void *argp1 = 0 ; |
| 6421 | int res1 = 0 ; |
| 6422 | PyObject * obj0 = 0 ; |
| 6423 | |
| 6424 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_time_enum",&obj0)) SWIG_fail; |
| 6425 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_enum, SWIG_POINTER_DISOWN | 0 ); |
| 6426 | if (!SWIG_IsOK(res1)) { |
| 6427 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_time_enum" "', argument " "1"" of type '" "struct dbr_time_enum *""'"); |
| 6428 | } |
| 6429 | arg1 = (struct dbr_time_enum *)(argp1); |
| 6430 | free((char *) arg1); |
| 6431 | |
| 6432 | resultobj = SWIG_Py_Void(); |
| 6433 | return resultobj; |
| 6434 | fail: |
| 6435 | return NULL; |
| 6436 | } |
| 6437 | |
| 6438 | |
| 6439 | SWIGINTERN PyObject *dbr_time_enum_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6440 | PyObject *obj; |
| 6441 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 6442 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_time_enum, SWIG_NewClientData(obj)); |
| 6443 | return SWIG_Py_Void(); |
| 6444 | } |
| 6445 | |
| 6446 | SWIGINTERN PyObject *_wrap_dbr_time_char_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6447 | PyObject *resultobj = 0; |
| 6448 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6449 | dbr_short_t arg2 ; |
| 6450 | void *argp1 = 0 ; |
| 6451 | int res1 = 0 ; |
| 6452 | void *argp2 ; |
| 6453 | int res2 = 0 ; |
| 6454 | PyObject * obj0 = 0 ; |
| 6455 | PyObject * obj1 = 0 ; |
| 6456 | |
| 6457 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_char_status_set",&obj0,&obj1)) SWIG_fail; |
| 6458 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, 0 | 0 ); |
| 6459 | if (!SWIG_IsOK(res1)) { |
| 6460 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_char_status_set" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6461 | } |
| 6462 | arg1 = (struct dbr_time_char *)(argp1); |
| 6463 | { |
| 6464 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 6465 | if (!SWIG_IsOK(res2)) { |
| 6466 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_char_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6467 | } |
| 6468 | if (!argp2) { |
| 6469 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_char_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6470 | } else { |
| 6471 | arg2 = *((dbr_short_t *)(argp2)); |
| 6472 | } |
| 6473 | } |
| 6474 | if (arg1) (arg1)->status = arg2; |
| 6475 | |
| 6476 | resultobj = SWIG_Py_Void(); |
| 6477 | return resultobj; |
| 6478 | fail: |
| 6479 | return NULL; |
| 6480 | } |
| 6481 | |
| 6482 | |
| 6483 | SWIGINTERN PyObject *_wrap_dbr_time_char_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6484 | PyObject *resultobj = 0; |
| 6485 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6486 | dbr_short_t result; |
| 6487 | void *argp1 = 0 ; |
| 6488 | int res1 = 0 ; |
| 6489 | PyObject * obj0 = 0 ; |
| 6490 | |
| 6491 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_char_status_get",&obj0)) SWIG_fail; |
| 6492 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, 0 | 0 ); |
| 6493 | if (!SWIG_IsOK(res1)) { |
| 6494 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_char_status_get" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6495 | } |
| 6496 | arg1 = (struct dbr_time_char *)(argp1); |
| 6497 | result = ((arg1)->status); |
| 6498 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 6499 | return resultobj; |
| 6500 | fail: |
| 6501 | return NULL; |
| 6502 | } |
| 6503 | |
| 6504 | |
| 6505 | SWIGINTERN PyObject *_wrap_dbr_time_char_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6506 | PyObject *resultobj = 0; |
| 6507 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6508 | dbr_short_t arg2 ; |
| 6509 | void *argp1 = 0 ; |
| 6510 | int res1 = 0 ; |
| 6511 | void *argp2 ; |
| 6512 | int res2 = 0 ; |
| 6513 | PyObject * obj0 = 0 ; |
| 6514 | PyObject * obj1 = 0 ; |
| 6515 | |
| 6516 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_char_severity_set",&obj0,&obj1)) SWIG_fail; |
| 6517 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, 0 | 0 ); |
| 6518 | if (!SWIG_IsOK(res1)) { |
| 6519 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_char_severity_set" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6520 | } |
| 6521 | arg1 = (struct dbr_time_char *)(argp1); |
| 6522 | { |
| 6523 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 6524 | if (!SWIG_IsOK(res2)) { |
| 6525 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_char_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6526 | } |
| 6527 | if (!argp2) { |
| 6528 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_char_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6529 | } else { |
| 6530 | arg2 = *((dbr_short_t *)(argp2)); |
| 6531 | } |
| 6532 | } |
| 6533 | if (arg1) (arg1)->severity = arg2; |
| 6534 | |
| 6535 | resultobj = SWIG_Py_Void(); |
| 6536 | return resultobj; |
| 6537 | fail: |
| 6538 | return NULL; |
| 6539 | } |
| 6540 | |
| 6541 | |
| 6542 | SWIGINTERN PyObject *_wrap_dbr_time_char_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6543 | PyObject *resultobj = 0; |
| 6544 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6545 | dbr_short_t result; |
| 6546 | void *argp1 = 0 ; |
| 6547 | int res1 = 0 ; |
| 6548 | PyObject * obj0 = 0 ; |
| 6549 | |
| 6550 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_char_severity_get",&obj0)) SWIG_fail; |
| 6551 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, 0 | 0 ); |
| 6552 | if (!SWIG_IsOK(res1)) { |
| 6553 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_char_severity_get" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6554 | } |
| 6555 | arg1 = (struct dbr_time_char *)(argp1); |
| 6556 | result = ((arg1)->severity); |
| 6557 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 6558 | return resultobj; |
| 6559 | fail: |
| 6560 | return NULL; |
| 6561 | } |
| 6562 | |
| 6563 | |
| 6564 | SWIGINTERN PyObject *_wrap_dbr_time_char_stamp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6565 | PyObject *resultobj = 0; |
| 6566 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6567 | epicsTimeStamp arg2 ; |
| 6568 | void *argp1 = 0 ; |
| 6569 | int res1 = 0 ; |
| 6570 | void *argp2 ; |
| 6571 | int res2 = 0 ; |
| 6572 | PyObject * obj0 = 0 ; |
| 6573 | PyObject * obj1 = 0 ; |
| 6574 | |
| 6575 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_char_stamp_set",&obj0,&obj1)) SWIG_fail; |
| 6576 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, 0 | 0 ); |
| 6577 | if (!SWIG_IsOK(res1)) { |
| 6578 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_char_stamp_set" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6579 | } |
| 6580 | arg1 = (struct dbr_time_char *)(argp1); |
| 6581 | { |
| 6582 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsTimeStamp, 0 ); |
| 6583 | if (!SWIG_IsOK(res2)) { |
| 6584 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_char_stamp_set" "', argument " "2"" of type '" "epicsTimeStamp""'"); |
| 6585 | } |
| 6586 | if (!argp2) { |
| 6587 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_char_stamp_set" "', argument " "2"" of type '" "epicsTimeStamp""'"); |
| 6588 | } else { |
| 6589 | arg2 = *((epicsTimeStamp *)(argp2)); |
| 6590 | } |
| 6591 | } |
| 6592 | if (arg1) (arg1)->stamp = arg2; |
| 6593 | |
| 6594 | resultobj = SWIG_Py_Void(); |
| 6595 | return resultobj; |
| 6596 | fail: |
| 6597 | return NULL; |
| 6598 | } |
| 6599 | |
| 6600 | |
| 6601 | SWIGINTERN PyObject *_wrap_dbr_time_char_stamp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6602 | PyObject *resultobj = 0; |
| 6603 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6604 | epicsTimeStamp result; |
| 6605 | void *argp1 = 0 ; |
| 6606 | int res1 = 0 ; |
| 6607 | PyObject * obj0 = 0 ; |
| 6608 | |
| 6609 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_char_stamp_get",&obj0)) SWIG_fail; |
| 6610 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, 0 | 0 ); |
| 6611 | if (!SWIG_IsOK(res1)) { |
| 6612 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_char_stamp_get" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6613 | } |
| 6614 | arg1 = (struct dbr_time_char *)(argp1); |
| 6615 | result = ((arg1)->stamp); |
| 6616 | resultobj = SWIG_NewPointerObj((epicsTimeStamp *)memcpy((epicsTimeStamp *)malloc(sizeof(epicsTimeStamp)),&result,sizeof(epicsTimeStamp)), SWIGTYPE_p_epicsTimeStamp, SWIG_POINTER_OWN | 0 ); |
| 6617 | return resultobj; |
| 6618 | fail: |
| 6619 | return NULL; |
| 6620 | } |
| 6621 | |
| 6622 | |
| 6623 | SWIGINTERN PyObject *_wrap_dbr_time_char_RISC_pad0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6624 | PyObject *resultobj = 0; |
| 6625 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6626 | dbr_short_t arg2 ; |
| 6627 | void *argp1 = 0 ; |
| 6628 | int res1 = 0 ; |
| 6629 | void *argp2 ; |
| 6630 | int res2 = 0 ; |
| 6631 | PyObject * obj0 = 0 ; |
| 6632 | PyObject * obj1 = 0 ; |
| 6633 | |
| 6634 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_char_RISC_pad0_set",&obj0,&obj1)) SWIG_fail; |
| 6635 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, 0 | 0 ); |
| 6636 | if (!SWIG_IsOK(res1)) { |
| 6637 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_char_RISC_pad0_set" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6638 | } |
| 6639 | arg1 = (struct dbr_time_char *)(argp1); |
| 6640 | { |
| 6641 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 6642 | if (!SWIG_IsOK(res2)) { |
| 6643 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_char_RISC_pad0_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6644 | } |
| 6645 | if (!argp2) { |
| 6646 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_char_RISC_pad0_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6647 | } else { |
| 6648 | arg2 = *((dbr_short_t *)(argp2)); |
| 6649 | } |
| 6650 | } |
| 6651 | if (arg1) (arg1)->RISC_pad0 = arg2; |
| 6652 | |
| 6653 | resultobj = SWIG_Py_Void(); |
| 6654 | return resultobj; |
| 6655 | fail: |
| 6656 | return NULL; |
| 6657 | } |
| 6658 | |
| 6659 | |
| 6660 | SWIGINTERN PyObject *_wrap_dbr_time_char_RISC_pad0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6661 | PyObject *resultobj = 0; |
| 6662 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6663 | dbr_short_t result; |
| 6664 | void *argp1 = 0 ; |
| 6665 | int res1 = 0 ; |
| 6666 | PyObject * obj0 = 0 ; |
| 6667 | |
| 6668 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_char_RISC_pad0_get",&obj0)) SWIG_fail; |
| 6669 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, 0 | 0 ); |
| 6670 | if (!SWIG_IsOK(res1)) { |
| 6671 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_char_RISC_pad0_get" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6672 | } |
| 6673 | arg1 = (struct dbr_time_char *)(argp1); |
| 6674 | result = ((arg1)->RISC_pad0); |
| 6675 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 6676 | return resultobj; |
| 6677 | fail: |
| 6678 | return NULL; |
| 6679 | } |
| 6680 | |
| 6681 | |
| 6682 | SWIGINTERN PyObject *_wrap_dbr_time_char_RISC_pad1_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6683 | PyObject *resultobj = 0; |
| 6684 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6685 | dbr_char_t arg2 ; |
| 6686 | void *argp1 = 0 ; |
| 6687 | int res1 = 0 ; |
| 6688 | void *argp2 ; |
| 6689 | int res2 = 0 ; |
| 6690 | PyObject * obj0 = 0 ; |
| 6691 | PyObject * obj1 = 0 ; |
| 6692 | |
| 6693 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_char_RISC_pad1_set",&obj0,&obj1)) SWIG_fail; |
| 6694 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, 0 | 0 ); |
| 6695 | if (!SWIG_IsOK(res1)) { |
| 6696 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_char_RISC_pad1_set" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6697 | } |
| 6698 | arg1 = (struct dbr_time_char *)(argp1); |
| 6699 | { |
| 6700 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsUInt8, 0 ); |
| 6701 | if (!SWIG_IsOK(res2)) { |
| 6702 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_char_RISC_pad1_set" "', argument " "2"" of type '" "dbr_char_t""'"); |
| 6703 | } |
| 6704 | if (!argp2) { |
| 6705 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_char_RISC_pad1_set" "', argument " "2"" of type '" "dbr_char_t""'"); |
| 6706 | } else { |
| 6707 | arg2 = *((dbr_char_t *)(argp2)); |
| 6708 | } |
| 6709 | } |
| 6710 | if (arg1) (arg1)->RISC_pad1 = arg2; |
| 6711 | |
| 6712 | resultobj = SWIG_Py_Void(); |
| 6713 | return resultobj; |
| 6714 | fail: |
| 6715 | return NULL; |
| 6716 | } |
| 6717 | |
| 6718 | |
| 6719 | SWIGINTERN PyObject *_wrap_dbr_time_char_RISC_pad1_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6720 | PyObject *resultobj = 0; |
| 6721 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6722 | dbr_char_t result; |
| 6723 | void *argp1 = 0 ; |
| 6724 | int res1 = 0 ; |
| 6725 | PyObject * obj0 = 0 ; |
| 6726 | |
| 6727 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_char_RISC_pad1_get",&obj0)) SWIG_fail; |
| 6728 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, 0 | 0 ); |
| 6729 | if (!SWIG_IsOK(res1)) { |
| 6730 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_char_RISC_pad1_get" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6731 | } |
| 6732 | arg1 = (struct dbr_time_char *)(argp1); |
| 6733 | result = ((arg1)->RISC_pad1); |
| 6734 | resultobj = SWIG_NewPointerObj((dbr_char_t *)memcpy((dbr_char_t *)malloc(sizeof(dbr_char_t)),&result,sizeof(dbr_char_t)), SWIGTYPE_p_epicsUInt8, SWIG_POINTER_OWN | 0 ); |
| 6735 | return resultobj; |
| 6736 | fail: |
| 6737 | return NULL; |
| 6738 | } |
| 6739 | |
| 6740 | |
| 6741 | SWIGINTERN PyObject *_wrap_dbr_time_char_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6742 | PyObject *resultobj = 0; |
| 6743 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6744 | dbr_char_t arg2 ; |
| 6745 | void *argp1 = 0 ; |
| 6746 | int res1 = 0 ; |
| 6747 | void *argp2 ; |
| 6748 | int res2 = 0 ; |
| 6749 | PyObject * obj0 = 0 ; |
| 6750 | PyObject * obj1 = 0 ; |
| 6751 | |
| 6752 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_char_value_set",&obj0,&obj1)) SWIG_fail; |
| 6753 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, 0 | 0 ); |
| 6754 | if (!SWIG_IsOK(res1)) { |
| 6755 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_char_value_set" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6756 | } |
| 6757 | arg1 = (struct dbr_time_char *)(argp1); |
| 6758 | { |
| 6759 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsUInt8, 0 ); |
| 6760 | if (!SWIG_IsOK(res2)) { |
| 6761 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_char_value_set" "', argument " "2"" of type '" "dbr_char_t""'"); |
| 6762 | } |
| 6763 | if (!argp2) { |
| 6764 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_char_value_set" "', argument " "2"" of type '" "dbr_char_t""'"); |
| 6765 | } else { |
| 6766 | arg2 = *((dbr_char_t *)(argp2)); |
| 6767 | } |
| 6768 | } |
| 6769 | if (arg1) (arg1)->value = arg2; |
| 6770 | |
| 6771 | resultobj = SWIG_Py_Void(); |
| 6772 | return resultobj; |
| 6773 | fail: |
| 6774 | return NULL; |
| 6775 | } |
| 6776 | |
| 6777 | |
| 6778 | SWIGINTERN PyObject *_wrap_dbr_time_char_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6779 | PyObject *resultobj = 0; |
| 6780 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6781 | dbr_char_t result; |
| 6782 | void *argp1 = 0 ; |
| 6783 | int res1 = 0 ; |
| 6784 | PyObject * obj0 = 0 ; |
| 6785 | |
| 6786 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_char_value_get",&obj0)) SWIG_fail; |
| 6787 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, 0 | 0 ); |
| 6788 | if (!SWIG_IsOK(res1)) { |
| 6789 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_char_value_get" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6790 | } |
| 6791 | arg1 = (struct dbr_time_char *)(argp1); |
| 6792 | result = ((arg1)->value); |
| 6793 | resultobj = SWIG_NewPointerObj((dbr_char_t *)memcpy((dbr_char_t *)malloc(sizeof(dbr_char_t)),&result,sizeof(dbr_char_t)), SWIGTYPE_p_epicsUInt8, SWIG_POINTER_OWN | 0 ); |
| 6794 | return resultobj; |
| 6795 | fail: |
| 6796 | return NULL; |
| 6797 | } |
| 6798 | |
| 6799 | |
| 6800 | SWIGINTERN PyObject *_wrap_new_dbr_time_char(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6801 | PyObject *resultobj = 0; |
| 6802 | struct dbr_time_char *result = 0 ; |
| 6803 | |
| 6804 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_time_char")) SWIG_fail; |
| 6805 | result = (struct dbr_time_char *)(struct dbr_time_char *) calloc(1, sizeof(struct dbr_time_char)); |
| 6806 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_time_char, SWIG_POINTER_NEW | 0 ); |
| 6807 | return resultobj; |
| 6808 | fail: |
| 6809 | return NULL; |
| 6810 | } |
| 6811 | |
| 6812 | |
| 6813 | SWIGINTERN PyObject *_wrap_delete_dbr_time_char(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6814 | PyObject *resultobj = 0; |
| 6815 | struct dbr_time_char *arg1 = (struct dbr_time_char *) 0 ; |
| 6816 | void *argp1 = 0 ; |
| 6817 | int res1 = 0 ; |
| 6818 | PyObject * obj0 = 0 ; |
| 6819 | |
| 6820 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_time_char",&obj0)) SWIG_fail; |
| 6821 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_char, SWIG_POINTER_DISOWN | 0 ); |
| 6822 | if (!SWIG_IsOK(res1)) { |
| 6823 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_time_char" "', argument " "1"" of type '" "struct dbr_time_char *""'"); |
| 6824 | } |
| 6825 | arg1 = (struct dbr_time_char *)(argp1); |
| 6826 | free((char *) arg1); |
| 6827 | |
| 6828 | resultobj = SWIG_Py_Void(); |
| 6829 | return resultobj; |
| 6830 | fail: |
| 6831 | return NULL; |
| 6832 | } |
| 6833 | |
| 6834 | |
| 6835 | SWIGINTERN PyObject *dbr_time_char_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6836 | PyObject *obj; |
| 6837 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 6838 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_time_char, SWIG_NewClientData(obj)); |
| 6839 | return SWIG_Py_Void(); |
| 6840 | } |
| 6841 | |
| 6842 | SWIGINTERN PyObject *_wrap_dbr_time_long_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6843 | PyObject *resultobj = 0; |
| 6844 | struct dbr_time_long *arg1 = (struct dbr_time_long *) 0 ; |
| 6845 | dbr_short_t arg2 ; |
| 6846 | void *argp1 = 0 ; |
| 6847 | int res1 = 0 ; |
| 6848 | void *argp2 ; |
| 6849 | int res2 = 0 ; |
| 6850 | PyObject * obj0 = 0 ; |
| 6851 | PyObject * obj1 = 0 ; |
| 6852 | |
| 6853 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_long_status_set",&obj0,&obj1)) SWIG_fail; |
| 6854 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_long, 0 | 0 ); |
| 6855 | if (!SWIG_IsOK(res1)) { |
| 6856 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_long_status_set" "', argument " "1"" of type '" "struct dbr_time_long *""'"); |
| 6857 | } |
| 6858 | arg1 = (struct dbr_time_long *)(argp1); |
| 6859 | { |
| 6860 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 6861 | if (!SWIG_IsOK(res2)) { |
| 6862 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_long_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6863 | } |
| 6864 | if (!argp2) { |
| 6865 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_long_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6866 | } else { |
| 6867 | arg2 = *((dbr_short_t *)(argp2)); |
| 6868 | } |
| 6869 | } |
| 6870 | if (arg1) (arg1)->status = arg2; |
| 6871 | |
| 6872 | resultobj = SWIG_Py_Void(); |
| 6873 | return resultobj; |
| 6874 | fail: |
| 6875 | return NULL; |
| 6876 | } |
| 6877 | |
| 6878 | |
| 6879 | SWIGINTERN PyObject *_wrap_dbr_time_long_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6880 | PyObject *resultobj = 0; |
| 6881 | struct dbr_time_long *arg1 = (struct dbr_time_long *) 0 ; |
| 6882 | dbr_short_t result; |
| 6883 | void *argp1 = 0 ; |
| 6884 | int res1 = 0 ; |
| 6885 | PyObject * obj0 = 0 ; |
| 6886 | |
| 6887 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_long_status_get",&obj0)) SWIG_fail; |
| 6888 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_long, 0 | 0 ); |
| 6889 | if (!SWIG_IsOK(res1)) { |
| 6890 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_long_status_get" "', argument " "1"" of type '" "struct dbr_time_long *""'"); |
| 6891 | } |
| 6892 | arg1 = (struct dbr_time_long *)(argp1); |
| 6893 | result = ((arg1)->status); |
| 6894 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 6895 | return resultobj; |
| 6896 | fail: |
| 6897 | return NULL; |
| 6898 | } |
| 6899 | |
| 6900 | |
| 6901 | SWIGINTERN PyObject *_wrap_dbr_time_long_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6902 | PyObject *resultobj = 0; |
| 6903 | struct dbr_time_long *arg1 = (struct dbr_time_long *) 0 ; |
| 6904 | dbr_short_t arg2 ; |
| 6905 | void *argp1 = 0 ; |
| 6906 | int res1 = 0 ; |
| 6907 | void *argp2 ; |
| 6908 | int res2 = 0 ; |
| 6909 | PyObject * obj0 = 0 ; |
| 6910 | PyObject * obj1 = 0 ; |
| 6911 | |
| 6912 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_long_severity_set",&obj0,&obj1)) SWIG_fail; |
| 6913 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_long, 0 | 0 ); |
| 6914 | if (!SWIG_IsOK(res1)) { |
| 6915 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_long_severity_set" "', argument " "1"" of type '" "struct dbr_time_long *""'"); |
| 6916 | } |
| 6917 | arg1 = (struct dbr_time_long *)(argp1); |
| 6918 | { |
| 6919 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 6920 | if (!SWIG_IsOK(res2)) { |
| 6921 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_long_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6922 | } |
| 6923 | if (!argp2) { |
| 6924 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_long_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 6925 | } else { |
| 6926 | arg2 = *((dbr_short_t *)(argp2)); |
| 6927 | } |
| 6928 | } |
| 6929 | if (arg1) (arg1)->severity = arg2; |
| 6930 | |
| 6931 | resultobj = SWIG_Py_Void(); |
| 6932 | return resultobj; |
| 6933 | fail: |
| 6934 | return NULL; |
| 6935 | } |
| 6936 | |
| 6937 | |
| 6938 | SWIGINTERN PyObject *_wrap_dbr_time_long_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6939 | PyObject *resultobj = 0; |
| 6940 | struct dbr_time_long *arg1 = (struct dbr_time_long *) 0 ; |
| 6941 | dbr_short_t result; |
| 6942 | void *argp1 = 0 ; |
| 6943 | int res1 = 0 ; |
| 6944 | PyObject * obj0 = 0 ; |
| 6945 | |
| 6946 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_long_severity_get",&obj0)) SWIG_fail; |
| 6947 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_long, 0 | 0 ); |
| 6948 | if (!SWIG_IsOK(res1)) { |
| 6949 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_long_severity_get" "', argument " "1"" of type '" "struct dbr_time_long *""'"); |
| 6950 | } |
| 6951 | arg1 = (struct dbr_time_long *)(argp1); |
| 6952 | result = ((arg1)->severity); |
| 6953 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 6954 | return resultobj; |
| 6955 | fail: |
| 6956 | return NULL; |
| 6957 | } |
| 6958 | |
| 6959 | |
| 6960 | SWIGINTERN PyObject *_wrap_dbr_time_long_stamp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6961 | PyObject *resultobj = 0; |
| 6962 | struct dbr_time_long *arg1 = (struct dbr_time_long *) 0 ; |
| 6963 | epicsTimeStamp arg2 ; |
| 6964 | void *argp1 = 0 ; |
| 6965 | int res1 = 0 ; |
| 6966 | void *argp2 ; |
| 6967 | int res2 = 0 ; |
| 6968 | PyObject * obj0 = 0 ; |
| 6969 | PyObject * obj1 = 0 ; |
| 6970 | |
| 6971 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_long_stamp_set",&obj0,&obj1)) SWIG_fail; |
| 6972 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_long, 0 | 0 ); |
| 6973 | if (!SWIG_IsOK(res1)) { |
| 6974 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_long_stamp_set" "', argument " "1"" of type '" "struct dbr_time_long *""'"); |
| 6975 | } |
| 6976 | arg1 = (struct dbr_time_long *)(argp1); |
| 6977 | { |
| 6978 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsTimeStamp, 0 ); |
| 6979 | if (!SWIG_IsOK(res2)) { |
| 6980 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_long_stamp_set" "', argument " "2"" of type '" "epicsTimeStamp""'"); |
| 6981 | } |
| 6982 | if (!argp2) { |
| 6983 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_long_stamp_set" "', argument " "2"" of type '" "epicsTimeStamp""'"); |
| 6984 | } else { |
| 6985 | arg2 = *((epicsTimeStamp *)(argp2)); |
| 6986 | } |
| 6987 | } |
| 6988 | if (arg1) (arg1)->stamp = arg2; |
| 6989 | |
| 6990 | resultobj = SWIG_Py_Void(); |
| 6991 | return resultobj; |
| 6992 | fail: |
| 6993 | return NULL; |
| 6994 | } |
| 6995 | |
| 6996 | |
| 6997 | SWIGINTERN PyObject *_wrap_dbr_time_long_stamp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 6998 | PyObject *resultobj = 0; |
| 6999 | struct dbr_time_long *arg1 = (struct dbr_time_long *) 0 ; |
| 7000 | epicsTimeStamp result; |
| 7001 | void *argp1 = 0 ; |
| 7002 | int res1 = 0 ; |
| 7003 | PyObject * obj0 = 0 ; |
| 7004 | |
| 7005 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_long_stamp_get",&obj0)) SWIG_fail; |
| 7006 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_long, 0 | 0 ); |
| 7007 | if (!SWIG_IsOK(res1)) { |
| 7008 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_long_stamp_get" "', argument " "1"" of type '" "struct dbr_time_long *""'"); |
| 7009 | } |
| 7010 | arg1 = (struct dbr_time_long *)(argp1); |
| 7011 | result = ((arg1)->stamp); |
| 7012 | resultobj = SWIG_NewPointerObj((epicsTimeStamp *)memcpy((epicsTimeStamp *)malloc(sizeof(epicsTimeStamp)),&result,sizeof(epicsTimeStamp)), SWIGTYPE_p_epicsTimeStamp, SWIG_POINTER_OWN | 0 ); |
| 7013 | return resultobj; |
| 7014 | fail: |
| 7015 | return NULL; |
| 7016 | } |
| 7017 | |
| 7018 | |
| 7019 | SWIGINTERN PyObject *_wrap_dbr_time_long_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7020 | PyObject *resultobj = 0; |
| 7021 | struct dbr_time_long *arg1 = (struct dbr_time_long *) 0 ; |
| 7022 | dbr_long_t arg2 ; |
| 7023 | void *argp1 = 0 ; |
| 7024 | int res1 = 0 ; |
| 7025 | void *argp2 ; |
| 7026 | int res2 = 0 ; |
| 7027 | PyObject * obj0 = 0 ; |
| 7028 | PyObject * obj1 = 0 ; |
| 7029 | |
| 7030 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_long_value_set",&obj0,&obj1)) SWIG_fail; |
| 7031 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_long, 0 | 0 ); |
| 7032 | if (!SWIG_IsOK(res1)) { |
| 7033 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_long_value_set" "', argument " "1"" of type '" "struct dbr_time_long *""'"); |
| 7034 | } |
| 7035 | arg1 = (struct dbr_time_long *)(argp1); |
| 7036 | { |
| 7037 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt32, 0 ); |
| 7038 | if (!SWIG_IsOK(res2)) { |
| 7039 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_long_value_set" "', argument " "2"" of type '" "dbr_long_t""'"); |
| 7040 | } |
| 7041 | if (!argp2) { |
| 7042 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_long_value_set" "', argument " "2"" of type '" "dbr_long_t""'"); |
| 7043 | } else { |
| 7044 | arg2 = *((dbr_long_t *)(argp2)); |
| 7045 | } |
| 7046 | } |
| 7047 | if (arg1) (arg1)->value = arg2; |
| 7048 | |
| 7049 | resultobj = SWIG_Py_Void(); |
| 7050 | return resultobj; |
| 7051 | fail: |
| 7052 | return NULL; |
| 7053 | } |
| 7054 | |
| 7055 | |
| 7056 | SWIGINTERN PyObject *_wrap_dbr_time_long_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7057 | PyObject *resultobj = 0; |
| 7058 | struct dbr_time_long *arg1 = (struct dbr_time_long *) 0 ; |
| 7059 | dbr_long_t result; |
| 7060 | void *argp1 = 0 ; |
| 7061 | int res1 = 0 ; |
| 7062 | PyObject * obj0 = 0 ; |
| 7063 | |
| 7064 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_long_value_get",&obj0)) SWIG_fail; |
| 7065 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_long, 0 | 0 ); |
| 7066 | if (!SWIG_IsOK(res1)) { |
| 7067 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_long_value_get" "', argument " "1"" of type '" "struct dbr_time_long *""'"); |
| 7068 | } |
| 7069 | arg1 = (struct dbr_time_long *)(argp1); |
| 7070 | result = ((arg1)->value); |
| 7071 | resultobj = SWIG_NewPointerObj((dbr_long_t *)memcpy((dbr_long_t *)malloc(sizeof(dbr_long_t)),&result,sizeof(dbr_long_t)), SWIGTYPE_p_epicsInt32, SWIG_POINTER_OWN | 0 ); |
| 7072 | return resultobj; |
| 7073 | fail: |
| 7074 | return NULL; |
| 7075 | } |
| 7076 | |
| 7077 | |
| 7078 | SWIGINTERN PyObject *_wrap_new_dbr_time_long(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7079 | PyObject *resultobj = 0; |
| 7080 | struct dbr_time_long *result = 0 ; |
| 7081 | |
| 7082 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_time_long")) SWIG_fail; |
| 7083 | result = (struct dbr_time_long *)(struct dbr_time_long *) calloc(1, sizeof(struct dbr_time_long)); |
| 7084 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_time_long, SWIG_POINTER_NEW | 0 ); |
| 7085 | return resultobj; |
| 7086 | fail: |
| 7087 | return NULL; |
| 7088 | } |
| 7089 | |
| 7090 | |
| 7091 | SWIGINTERN PyObject *_wrap_delete_dbr_time_long(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7092 | PyObject *resultobj = 0; |
| 7093 | struct dbr_time_long *arg1 = (struct dbr_time_long *) 0 ; |
| 7094 | void *argp1 = 0 ; |
| 7095 | int res1 = 0 ; |
| 7096 | PyObject * obj0 = 0 ; |
| 7097 | |
| 7098 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_time_long",&obj0)) SWIG_fail; |
| 7099 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_long, SWIG_POINTER_DISOWN | 0 ); |
| 7100 | if (!SWIG_IsOK(res1)) { |
| 7101 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_time_long" "', argument " "1"" of type '" "struct dbr_time_long *""'"); |
| 7102 | } |
| 7103 | arg1 = (struct dbr_time_long *)(argp1); |
| 7104 | free((char *) arg1); |
| 7105 | |
| 7106 | resultobj = SWIG_Py_Void(); |
| 7107 | return resultobj; |
| 7108 | fail: |
| 7109 | return NULL; |
| 7110 | } |
| 7111 | |
| 7112 | |
| 7113 | SWIGINTERN PyObject *dbr_time_long_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7114 | PyObject *obj; |
| 7115 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 7116 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_time_long, SWIG_NewClientData(obj)); |
| 7117 | return SWIG_Py_Void(); |
| 7118 | } |
| 7119 | |
| 7120 | SWIGINTERN PyObject *_wrap_dbr_time_double_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7121 | PyObject *resultobj = 0; |
| 7122 | struct dbr_time_double *arg1 = (struct dbr_time_double *) 0 ; |
| 7123 | dbr_short_t arg2 ; |
| 7124 | void *argp1 = 0 ; |
| 7125 | int res1 = 0 ; |
| 7126 | void *argp2 ; |
| 7127 | int res2 = 0 ; |
| 7128 | PyObject * obj0 = 0 ; |
| 7129 | PyObject * obj1 = 0 ; |
| 7130 | |
| 7131 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_double_status_set",&obj0,&obj1)) SWIG_fail; |
| 7132 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_double, 0 | 0 ); |
| 7133 | if (!SWIG_IsOK(res1)) { |
| 7134 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_double_status_set" "', argument " "1"" of type '" "struct dbr_time_double *""'"); |
| 7135 | } |
| 7136 | arg1 = (struct dbr_time_double *)(argp1); |
| 7137 | { |
| 7138 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 7139 | if (!SWIG_IsOK(res2)) { |
| 7140 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_double_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7141 | } |
| 7142 | if (!argp2) { |
| 7143 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_double_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7144 | } else { |
| 7145 | arg2 = *((dbr_short_t *)(argp2)); |
| 7146 | } |
| 7147 | } |
| 7148 | if (arg1) (arg1)->status = arg2; |
| 7149 | |
| 7150 | resultobj = SWIG_Py_Void(); |
| 7151 | return resultobj; |
| 7152 | fail: |
| 7153 | return NULL; |
| 7154 | } |
| 7155 | |
| 7156 | |
| 7157 | SWIGINTERN PyObject *_wrap_dbr_time_double_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7158 | PyObject *resultobj = 0; |
| 7159 | struct dbr_time_double *arg1 = (struct dbr_time_double *) 0 ; |
| 7160 | dbr_short_t result; |
| 7161 | void *argp1 = 0 ; |
| 7162 | int res1 = 0 ; |
| 7163 | PyObject * obj0 = 0 ; |
| 7164 | |
| 7165 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_double_status_get",&obj0)) SWIG_fail; |
| 7166 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_double, 0 | 0 ); |
| 7167 | if (!SWIG_IsOK(res1)) { |
| 7168 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_double_status_get" "', argument " "1"" of type '" "struct dbr_time_double *""'"); |
| 7169 | } |
| 7170 | arg1 = (struct dbr_time_double *)(argp1); |
| 7171 | result = ((arg1)->status); |
| 7172 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 7173 | return resultobj; |
| 7174 | fail: |
| 7175 | return NULL; |
| 7176 | } |
| 7177 | |
| 7178 | |
| 7179 | SWIGINTERN PyObject *_wrap_dbr_time_double_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7180 | PyObject *resultobj = 0; |
| 7181 | struct dbr_time_double *arg1 = (struct dbr_time_double *) 0 ; |
| 7182 | dbr_short_t arg2 ; |
| 7183 | void *argp1 = 0 ; |
| 7184 | int res1 = 0 ; |
| 7185 | void *argp2 ; |
| 7186 | int res2 = 0 ; |
| 7187 | PyObject * obj0 = 0 ; |
| 7188 | PyObject * obj1 = 0 ; |
| 7189 | |
| 7190 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_double_severity_set",&obj0,&obj1)) SWIG_fail; |
| 7191 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_double, 0 | 0 ); |
| 7192 | if (!SWIG_IsOK(res1)) { |
| 7193 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_double_severity_set" "', argument " "1"" of type '" "struct dbr_time_double *""'"); |
| 7194 | } |
| 7195 | arg1 = (struct dbr_time_double *)(argp1); |
| 7196 | { |
| 7197 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 7198 | if (!SWIG_IsOK(res2)) { |
| 7199 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_double_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7200 | } |
| 7201 | if (!argp2) { |
| 7202 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_double_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7203 | } else { |
| 7204 | arg2 = *((dbr_short_t *)(argp2)); |
| 7205 | } |
| 7206 | } |
| 7207 | if (arg1) (arg1)->severity = arg2; |
| 7208 | |
| 7209 | resultobj = SWIG_Py_Void(); |
| 7210 | return resultobj; |
| 7211 | fail: |
| 7212 | return NULL; |
| 7213 | } |
| 7214 | |
| 7215 | |
| 7216 | SWIGINTERN PyObject *_wrap_dbr_time_double_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7217 | PyObject *resultobj = 0; |
| 7218 | struct dbr_time_double *arg1 = (struct dbr_time_double *) 0 ; |
| 7219 | dbr_short_t result; |
| 7220 | void *argp1 = 0 ; |
| 7221 | int res1 = 0 ; |
| 7222 | PyObject * obj0 = 0 ; |
| 7223 | |
| 7224 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_double_severity_get",&obj0)) SWIG_fail; |
| 7225 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_double, 0 | 0 ); |
| 7226 | if (!SWIG_IsOK(res1)) { |
| 7227 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_double_severity_get" "', argument " "1"" of type '" "struct dbr_time_double *""'"); |
| 7228 | } |
| 7229 | arg1 = (struct dbr_time_double *)(argp1); |
| 7230 | result = ((arg1)->severity); |
| 7231 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 7232 | return resultobj; |
| 7233 | fail: |
| 7234 | return NULL; |
| 7235 | } |
| 7236 | |
| 7237 | |
| 7238 | SWIGINTERN PyObject *_wrap_dbr_time_double_stamp_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7239 | PyObject *resultobj = 0; |
| 7240 | struct dbr_time_double *arg1 = (struct dbr_time_double *) 0 ; |
| 7241 | epicsTimeStamp arg2 ; |
| 7242 | void *argp1 = 0 ; |
| 7243 | int res1 = 0 ; |
| 7244 | void *argp2 ; |
| 7245 | int res2 = 0 ; |
| 7246 | PyObject * obj0 = 0 ; |
| 7247 | PyObject * obj1 = 0 ; |
| 7248 | |
| 7249 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_double_stamp_set",&obj0,&obj1)) SWIG_fail; |
| 7250 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_double, 0 | 0 ); |
| 7251 | if (!SWIG_IsOK(res1)) { |
| 7252 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_double_stamp_set" "', argument " "1"" of type '" "struct dbr_time_double *""'"); |
| 7253 | } |
| 7254 | arg1 = (struct dbr_time_double *)(argp1); |
| 7255 | { |
| 7256 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsTimeStamp, 0 ); |
| 7257 | if (!SWIG_IsOK(res2)) { |
| 7258 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_double_stamp_set" "', argument " "2"" of type '" "epicsTimeStamp""'"); |
| 7259 | } |
| 7260 | if (!argp2) { |
| 7261 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_double_stamp_set" "', argument " "2"" of type '" "epicsTimeStamp""'"); |
| 7262 | } else { |
| 7263 | arg2 = *((epicsTimeStamp *)(argp2)); |
| 7264 | } |
| 7265 | } |
| 7266 | if (arg1) (arg1)->stamp = arg2; |
| 7267 | |
| 7268 | resultobj = SWIG_Py_Void(); |
| 7269 | return resultobj; |
| 7270 | fail: |
| 7271 | return NULL; |
| 7272 | } |
| 7273 | |
| 7274 | |
| 7275 | SWIGINTERN PyObject *_wrap_dbr_time_double_stamp_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7276 | PyObject *resultobj = 0; |
| 7277 | struct dbr_time_double *arg1 = (struct dbr_time_double *) 0 ; |
| 7278 | epicsTimeStamp result; |
| 7279 | void *argp1 = 0 ; |
| 7280 | int res1 = 0 ; |
| 7281 | PyObject * obj0 = 0 ; |
| 7282 | |
| 7283 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_double_stamp_get",&obj0)) SWIG_fail; |
| 7284 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_double, 0 | 0 ); |
| 7285 | if (!SWIG_IsOK(res1)) { |
| 7286 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_double_stamp_get" "', argument " "1"" of type '" "struct dbr_time_double *""'"); |
| 7287 | } |
| 7288 | arg1 = (struct dbr_time_double *)(argp1); |
| 7289 | result = ((arg1)->stamp); |
| 7290 | resultobj = SWIG_NewPointerObj((epicsTimeStamp *)memcpy((epicsTimeStamp *)malloc(sizeof(epicsTimeStamp)),&result,sizeof(epicsTimeStamp)), SWIGTYPE_p_epicsTimeStamp, SWIG_POINTER_OWN | 0 ); |
| 7291 | return resultobj; |
| 7292 | fail: |
| 7293 | return NULL; |
| 7294 | } |
| 7295 | |
| 7296 | |
| 7297 | SWIGINTERN PyObject *_wrap_dbr_time_double_RISC_pad_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7298 | PyObject *resultobj = 0; |
| 7299 | struct dbr_time_double *arg1 = (struct dbr_time_double *) 0 ; |
| 7300 | dbr_long_t arg2 ; |
| 7301 | void *argp1 = 0 ; |
| 7302 | int res1 = 0 ; |
| 7303 | void *argp2 ; |
| 7304 | int res2 = 0 ; |
| 7305 | PyObject * obj0 = 0 ; |
| 7306 | PyObject * obj1 = 0 ; |
| 7307 | |
| 7308 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_double_RISC_pad_set",&obj0,&obj1)) SWIG_fail; |
| 7309 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_double, 0 | 0 ); |
| 7310 | if (!SWIG_IsOK(res1)) { |
| 7311 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_double_RISC_pad_set" "', argument " "1"" of type '" "struct dbr_time_double *""'"); |
| 7312 | } |
| 7313 | arg1 = (struct dbr_time_double *)(argp1); |
| 7314 | { |
| 7315 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt32, 0 ); |
| 7316 | if (!SWIG_IsOK(res2)) { |
| 7317 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_double_RISC_pad_set" "', argument " "2"" of type '" "dbr_long_t""'"); |
| 7318 | } |
| 7319 | if (!argp2) { |
| 7320 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_double_RISC_pad_set" "', argument " "2"" of type '" "dbr_long_t""'"); |
| 7321 | } else { |
| 7322 | arg2 = *((dbr_long_t *)(argp2)); |
| 7323 | } |
| 7324 | } |
| 7325 | if (arg1) (arg1)->RISC_pad = arg2; |
| 7326 | |
| 7327 | resultobj = SWIG_Py_Void(); |
| 7328 | return resultobj; |
| 7329 | fail: |
| 7330 | return NULL; |
| 7331 | } |
| 7332 | |
| 7333 | |
| 7334 | SWIGINTERN PyObject *_wrap_dbr_time_double_RISC_pad_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7335 | PyObject *resultobj = 0; |
| 7336 | struct dbr_time_double *arg1 = (struct dbr_time_double *) 0 ; |
| 7337 | dbr_long_t result; |
| 7338 | void *argp1 = 0 ; |
| 7339 | int res1 = 0 ; |
| 7340 | PyObject * obj0 = 0 ; |
| 7341 | |
| 7342 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_double_RISC_pad_get",&obj0)) SWIG_fail; |
| 7343 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_double, 0 | 0 ); |
| 7344 | if (!SWIG_IsOK(res1)) { |
| 7345 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_double_RISC_pad_get" "', argument " "1"" of type '" "struct dbr_time_double *""'"); |
| 7346 | } |
| 7347 | arg1 = (struct dbr_time_double *)(argp1); |
| 7348 | result = ((arg1)->RISC_pad); |
| 7349 | resultobj = SWIG_NewPointerObj((dbr_long_t *)memcpy((dbr_long_t *)malloc(sizeof(dbr_long_t)),&result,sizeof(dbr_long_t)), SWIGTYPE_p_epicsInt32, SWIG_POINTER_OWN | 0 ); |
| 7350 | return resultobj; |
| 7351 | fail: |
| 7352 | return NULL; |
| 7353 | } |
| 7354 | |
| 7355 | |
| 7356 | SWIGINTERN PyObject *_wrap_dbr_time_double_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7357 | PyObject *resultobj = 0; |
| 7358 | struct dbr_time_double *arg1 = (struct dbr_time_double *) 0 ; |
| 7359 | dbr_double_t arg2 ; |
| 7360 | void *argp1 = 0 ; |
| 7361 | int res1 = 0 ; |
| 7362 | void *argp2 ; |
| 7363 | int res2 = 0 ; |
| 7364 | PyObject * obj0 = 0 ; |
| 7365 | PyObject * obj1 = 0 ; |
| 7366 | |
| 7367 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_time_double_value_set",&obj0,&obj1)) SWIG_fail; |
| 7368 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_double, 0 | 0 ); |
| 7369 | if (!SWIG_IsOK(res1)) { |
| 7370 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_double_value_set" "', argument " "1"" of type '" "struct dbr_time_double *""'"); |
| 7371 | } |
| 7372 | arg1 = (struct dbr_time_double *)(argp1); |
| 7373 | { |
| 7374 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsFloat64, 0 ); |
| 7375 | if (!SWIG_IsOK(res2)) { |
| 7376 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_time_double_value_set" "', argument " "2"" of type '" "dbr_double_t""'"); |
| 7377 | } |
| 7378 | if (!argp2) { |
| 7379 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_time_double_value_set" "', argument " "2"" of type '" "dbr_double_t""'"); |
| 7380 | } else { |
| 7381 | arg2 = *((dbr_double_t *)(argp2)); |
| 7382 | } |
| 7383 | } |
| 7384 | if (arg1) (arg1)->value = arg2; |
| 7385 | |
| 7386 | resultobj = SWIG_Py_Void(); |
| 7387 | return resultobj; |
| 7388 | fail: |
| 7389 | return NULL; |
| 7390 | } |
| 7391 | |
| 7392 | |
| 7393 | SWIGINTERN PyObject *_wrap_dbr_time_double_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7394 | PyObject *resultobj = 0; |
| 7395 | struct dbr_time_double *arg1 = (struct dbr_time_double *) 0 ; |
| 7396 | dbr_double_t result; |
| 7397 | void *argp1 = 0 ; |
| 7398 | int res1 = 0 ; |
| 7399 | PyObject * obj0 = 0 ; |
| 7400 | |
| 7401 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_time_double_value_get",&obj0)) SWIG_fail; |
| 7402 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_double, 0 | 0 ); |
| 7403 | if (!SWIG_IsOK(res1)) { |
| 7404 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_time_double_value_get" "', argument " "1"" of type '" "struct dbr_time_double *""'"); |
| 7405 | } |
| 7406 | arg1 = (struct dbr_time_double *)(argp1); |
| 7407 | result = ((arg1)->value); |
| 7408 | resultobj = SWIG_NewPointerObj((dbr_double_t *)memcpy((dbr_double_t *)malloc(sizeof(dbr_double_t)),&result,sizeof(dbr_double_t)), SWIGTYPE_p_epicsFloat64, SWIG_POINTER_OWN | 0 ); |
| 7409 | return resultobj; |
| 7410 | fail: |
| 7411 | return NULL; |
| 7412 | } |
| 7413 | |
| 7414 | |
| 7415 | SWIGINTERN PyObject *_wrap_new_dbr_time_double(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7416 | PyObject *resultobj = 0; |
| 7417 | struct dbr_time_double *result = 0 ; |
| 7418 | |
| 7419 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_time_double")) SWIG_fail; |
| 7420 | result = (struct dbr_time_double *)(struct dbr_time_double *) calloc(1, sizeof(struct dbr_time_double)); |
| 7421 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_time_double, SWIG_POINTER_NEW | 0 ); |
| 7422 | return resultobj; |
| 7423 | fail: |
| 7424 | return NULL; |
| 7425 | } |
| 7426 | |
| 7427 | |
| 7428 | SWIGINTERN PyObject *_wrap_delete_dbr_time_double(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7429 | PyObject *resultobj = 0; |
| 7430 | struct dbr_time_double *arg1 = (struct dbr_time_double *) 0 ; |
| 7431 | void *argp1 = 0 ; |
| 7432 | int res1 = 0 ; |
| 7433 | PyObject * obj0 = 0 ; |
| 7434 | |
| 7435 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_time_double",&obj0)) SWIG_fail; |
| 7436 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_time_double, SWIG_POINTER_DISOWN | 0 ); |
| 7437 | if (!SWIG_IsOK(res1)) { |
| 7438 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_time_double" "', argument " "1"" of type '" "struct dbr_time_double *""'"); |
| 7439 | } |
| 7440 | arg1 = (struct dbr_time_double *)(argp1); |
| 7441 | free((char *) arg1); |
| 7442 | |
| 7443 | resultobj = SWIG_Py_Void(); |
| 7444 | return resultobj; |
| 7445 | fail: |
| 7446 | return NULL; |
| 7447 | } |
| 7448 | |
| 7449 | |
| 7450 | SWIGINTERN PyObject *dbr_time_double_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7451 | PyObject *obj; |
| 7452 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 7453 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_time_double, SWIG_NewClientData(obj)); |
| 7454 | return SWIG_Py_Void(); |
| 7455 | } |
| 7456 | |
| 7457 | SWIGINTERN PyObject *_wrap_dbr_gr_int_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7458 | PyObject *resultobj = 0; |
| 7459 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7460 | dbr_short_t arg2 ; |
| 7461 | void *argp1 = 0 ; |
| 7462 | int res1 = 0 ; |
| 7463 | void *argp2 ; |
| 7464 | int res2 = 0 ; |
| 7465 | PyObject * obj0 = 0 ; |
| 7466 | PyObject * obj1 = 0 ; |
| 7467 | |
| 7468 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_int_status_set",&obj0,&obj1)) SWIG_fail; |
| 7469 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7470 | if (!SWIG_IsOK(res1)) { |
| 7471 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_status_set" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7472 | } |
| 7473 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7474 | { |
| 7475 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 7476 | if (!SWIG_IsOK(res2)) { |
| 7477 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_int_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7478 | } |
| 7479 | if (!argp2) { |
| 7480 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_int_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7481 | } else { |
| 7482 | arg2 = *((dbr_short_t *)(argp2)); |
| 7483 | } |
| 7484 | } |
| 7485 | if (arg1) (arg1)->status = arg2; |
| 7486 | |
| 7487 | resultobj = SWIG_Py_Void(); |
| 7488 | return resultobj; |
| 7489 | fail: |
| 7490 | return NULL; |
| 7491 | } |
| 7492 | |
| 7493 | |
| 7494 | SWIGINTERN PyObject *_wrap_dbr_gr_int_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7495 | PyObject *resultobj = 0; |
| 7496 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7497 | dbr_short_t result; |
| 7498 | void *argp1 = 0 ; |
| 7499 | int res1 = 0 ; |
| 7500 | PyObject * obj0 = 0 ; |
| 7501 | |
| 7502 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_int_status_get",&obj0)) SWIG_fail; |
| 7503 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7504 | if (!SWIG_IsOK(res1)) { |
| 7505 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_status_get" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7506 | } |
| 7507 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7508 | result = ((arg1)->status); |
| 7509 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 7510 | return resultobj; |
| 7511 | fail: |
| 7512 | return NULL; |
| 7513 | } |
| 7514 | |
| 7515 | |
| 7516 | SWIGINTERN PyObject *_wrap_dbr_gr_int_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7517 | PyObject *resultobj = 0; |
| 7518 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7519 | dbr_short_t arg2 ; |
| 7520 | void *argp1 = 0 ; |
| 7521 | int res1 = 0 ; |
| 7522 | void *argp2 ; |
| 7523 | int res2 = 0 ; |
| 7524 | PyObject * obj0 = 0 ; |
| 7525 | PyObject * obj1 = 0 ; |
| 7526 | |
| 7527 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_int_severity_set",&obj0,&obj1)) SWIG_fail; |
| 7528 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7529 | if (!SWIG_IsOK(res1)) { |
| 7530 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_severity_set" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7531 | } |
| 7532 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7533 | { |
| 7534 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 7535 | if (!SWIG_IsOK(res2)) { |
| 7536 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_int_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7537 | } |
| 7538 | if (!argp2) { |
| 7539 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_int_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7540 | } else { |
| 7541 | arg2 = *((dbr_short_t *)(argp2)); |
| 7542 | } |
| 7543 | } |
| 7544 | if (arg1) (arg1)->severity = arg2; |
| 7545 | |
| 7546 | resultobj = SWIG_Py_Void(); |
| 7547 | return resultobj; |
| 7548 | fail: |
| 7549 | return NULL; |
| 7550 | } |
| 7551 | |
| 7552 | |
| 7553 | SWIGINTERN PyObject *_wrap_dbr_gr_int_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7554 | PyObject *resultobj = 0; |
| 7555 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7556 | dbr_short_t result; |
| 7557 | void *argp1 = 0 ; |
| 7558 | int res1 = 0 ; |
| 7559 | PyObject * obj0 = 0 ; |
| 7560 | |
| 7561 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_int_severity_get",&obj0)) SWIG_fail; |
| 7562 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7563 | if (!SWIG_IsOK(res1)) { |
| 7564 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_severity_get" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7565 | } |
| 7566 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7567 | result = ((arg1)->severity); |
| 7568 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 7569 | return resultobj; |
| 7570 | fail: |
| 7571 | return NULL; |
| 7572 | } |
| 7573 | |
| 7574 | |
| 7575 | SWIGINTERN PyObject *_wrap_dbr_gr_int_units_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7576 | PyObject *resultobj = 0; |
| 7577 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7578 | char *arg2 ; |
| 7579 | void *argp1 = 0 ; |
| 7580 | int res1 = 0 ; |
| 7581 | char temp2[MAX_UNITS_SIZE] ; |
| 7582 | int res2 ; |
| 7583 | PyObject * obj0 = 0 ; |
| 7584 | PyObject * obj1 = 0 ; |
| 7585 | |
| 7586 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_int_units_set",&obj0,&obj1)) SWIG_fail; |
| 7587 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7588 | if (!SWIG_IsOK(res1)) { |
| 7589 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_units_set" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7590 | } |
| 7591 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7592 | res2 = SWIG_AsCharArray(obj1, temp2, MAX_UNITS_SIZE); |
| 7593 | if (!SWIG_IsOK(res2)) { |
| 7594 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_int_units_set" "', argument " "2"" of type '" "char [MAX_UNITS_SIZE]""'"); |
| 7595 | } |
| 7596 | arg2 = (char *)(temp2); |
| 7597 | if (arg2) memcpy(arg1->units,arg2,MAX_UNITS_SIZE*sizeof(char)); |
| 7598 | else memset(arg1->units,0,MAX_UNITS_SIZE*sizeof(char)); |
| 7599 | resultobj = SWIG_Py_Void(); |
| 7600 | return resultobj; |
| 7601 | fail: |
| 7602 | return NULL; |
| 7603 | } |
| 7604 | |
| 7605 | |
| 7606 | SWIGINTERN PyObject *_wrap_dbr_gr_int_units_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7607 | PyObject *resultobj = 0; |
| 7608 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7609 | char *result = 0 ; |
| 7610 | void *argp1 = 0 ; |
| 7611 | int res1 = 0 ; |
| 7612 | PyObject * obj0 = 0 ; |
| 7613 | |
| 7614 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_int_units_get",&obj0)) SWIG_fail; |
| 7615 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7616 | if (!SWIG_IsOK(res1)) { |
| 7617 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_units_get" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7618 | } |
| 7619 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7620 | result = (char *)(char *) ((arg1)->units); |
| 7621 | { |
| 7622 | size_t size = MAX_UNITS_SIZE; |
| 7623 | |
| 7624 | while (size && (result[size - 1] == '\0')) --size; |
| 7625 | |
| 7626 | resultobj = SWIG_FromCharPtrAndSize(result, size); |
| 7627 | } |
| 7628 | return resultobj; |
| 7629 | fail: |
| 7630 | return NULL; |
| 7631 | } |
| 7632 | |
| 7633 | |
| 7634 | SWIGINTERN PyObject *_wrap_dbr_gr_int_upper_disp_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7635 | PyObject *resultobj = 0; |
| 7636 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7637 | dbr_short_t arg2 ; |
| 7638 | void *argp1 = 0 ; |
| 7639 | int res1 = 0 ; |
| 7640 | void *argp2 ; |
| 7641 | int res2 = 0 ; |
| 7642 | PyObject * obj0 = 0 ; |
| 7643 | PyObject * obj1 = 0 ; |
| 7644 | |
| 7645 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_int_upper_disp_limit_set",&obj0,&obj1)) SWIG_fail; |
| 7646 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7647 | if (!SWIG_IsOK(res1)) { |
| 7648 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_upper_disp_limit_set" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7649 | } |
| 7650 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7651 | { |
| 7652 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 7653 | if (!SWIG_IsOK(res2)) { |
| 7654 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_int_upper_disp_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7655 | } |
| 7656 | if (!argp2) { |
| 7657 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_int_upper_disp_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7658 | } else { |
| 7659 | arg2 = *((dbr_short_t *)(argp2)); |
| 7660 | } |
| 7661 | } |
| 7662 | if (arg1) (arg1)->upper_disp_limit = arg2; |
| 7663 | |
| 7664 | resultobj = SWIG_Py_Void(); |
| 7665 | return resultobj; |
| 7666 | fail: |
| 7667 | return NULL; |
| 7668 | } |
| 7669 | |
| 7670 | |
| 7671 | SWIGINTERN PyObject *_wrap_dbr_gr_int_upper_disp_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7672 | PyObject *resultobj = 0; |
| 7673 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7674 | dbr_short_t result; |
| 7675 | void *argp1 = 0 ; |
| 7676 | int res1 = 0 ; |
| 7677 | PyObject * obj0 = 0 ; |
| 7678 | |
| 7679 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_int_upper_disp_limit_get",&obj0)) SWIG_fail; |
| 7680 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7681 | if (!SWIG_IsOK(res1)) { |
| 7682 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_upper_disp_limit_get" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7683 | } |
| 7684 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7685 | result = ((arg1)->upper_disp_limit); |
| 7686 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 7687 | return resultobj; |
| 7688 | fail: |
| 7689 | return NULL; |
| 7690 | } |
| 7691 | |
| 7692 | |
| 7693 | SWIGINTERN PyObject *_wrap_dbr_gr_int_lower_disp_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7694 | PyObject *resultobj = 0; |
| 7695 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7696 | dbr_short_t arg2 ; |
| 7697 | void *argp1 = 0 ; |
| 7698 | int res1 = 0 ; |
| 7699 | void *argp2 ; |
| 7700 | int res2 = 0 ; |
| 7701 | PyObject * obj0 = 0 ; |
| 7702 | PyObject * obj1 = 0 ; |
| 7703 | |
| 7704 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_int_lower_disp_limit_set",&obj0,&obj1)) SWIG_fail; |
| 7705 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7706 | if (!SWIG_IsOK(res1)) { |
| 7707 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_lower_disp_limit_set" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7708 | } |
| 7709 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7710 | { |
| 7711 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 7712 | if (!SWIG_IsOK(res2)) { |
| 7713 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_int_lower_disp_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7714 | } |
| 7715 | if (!argp2) { |
| 7716 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_int_lower_disp_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7717 | } else { |
| 7718 | arg2 = *((dbr_short_t *)(argp2)); |
| 7719 | } |
| 7720 | } |
| 7721 | if (arg1) (arg1)->lower_disp_limit = arg2; |
| 7722 | |
| 7723 | resultobj = SWIG_Py_Void(); |
| 7724 | return resultobj; |
| 7725 | fail: |
| 7726 | return NULL; |
| 7727 | } |
| 7728 | |
| 7729 | |
| 7730 | SWIGINTERN PyObject *_wrap_dbr_gr_int_lower_disp_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7731 | PyObject *resultobj = 0; |
| 7732 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7733 | dbr_short_t result; |
| 7734 | void *argp1 = 0 ; |
| 7735 | int res1 = 0 ; |
| 7736 | PyObject * obj0 = 0 ; |
| 7737 | |
| 7738 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_int_lower_disp_limit_get",&obj0)) SWIG_fail; |
| 7739 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7740 | if (!SWIG_IsOK(res1)) { |
| 7741 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_lower_disp_limit_get" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7742 | } |
| 7743 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7744 | result = ((arg1)->lower_disp_limit); |
| 7745 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 7746 | return resultobj; |
| 7747 | fail: |
| 7748 | return NULL; |
| 7749 | } |
| 7750 | |
| 7751 | |
| 7752 | SWIGINTERN PyObject *_wrap_dbr_gr_int_upper_alarm_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7753 | PyObject *resultobj = 0; |
| 7754 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7755 | dbr_short_t arg2 ; |
| 7756 | void *argp1 = 0 ; |
| 7757 | int res1 = 0 ; |
| 7758 | void *argp2 ; |
| 7759 | int res2 = 0 ; |
| 7760 | PyObject * obj0 = 0 ; |
| 7761 | PyObject * obj1 = 0 ; |
| 7762 | |
| 7763 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_int_upper_alarm_limit_set",&obj0,&obj1)) SWIG_fail; |
| 7764 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7765 | if (!SWIG_IsOK(res1)) { |
| 7766 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_upper_alarm_limit_set" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7767 | } |
| 7768 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7769 | { |
| 7770 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 7771 | if (!SWIG_IsOK(res2)) { |
| 7772 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_int_upper_alarm_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7773 | } |
| 7774 | if (!argp2) { |
| 7775 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_int_upper_alarm_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7776 | } else { |
| 7777 | arg2 = *((dbr_short_t *)(argp2)); |
| 7778 | } |
| 7779 | } |
| 7780 | if (arg1) (arg1)->upper_alarm_limit = arg2; |
| 7781 | |
| 7782 | resultobj = SWIG_Py_Void(); |
| 7783 | return resultobj; |
| 7784 | fail: |
| 7785 | return NULL; |
| 7786 | } |
| 7787 | |
| 7788 | |
| 7789 | SWIGINTERN PyObject *_wrap_dbr_gr_int_upper_alarm_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7790 | PyObject *resultobj = 0; |
| 7791 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7792 | dbr_short_t result; |
| 7793 | void *argp1 = 0 ; |
| 7794 | int res1 = 0 ; |
| 7795 | PyObject * obj0 = 0 ; |
| 7796 | |
| 7797 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_int_upper_alarm_limit_get",&obj0)) SWIG_fail; |
| 7798 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7799 | if (!SWIG_IsOK(res1)) { |
| 7800 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_upper_alarm_limit_get" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7801 | } |
| 7802 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7803 | result = ((arg1)->upper_alarm_limit); |
| 7804 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 7805 | return resultobj; |
| 7806 | fail: |
| 7807 | return NULL; |
| 7808 | } |
| 7809 | |
| 7810 | |
| 7811 | SWIGINTERN PyObject *_wrap_dbr_gr_int_upper_warning_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7812 | PyObject *resultobj = 0; |
| 7813 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7814 | dbr_short_t arg2 ; |
| 7815 | void *argp1 = 0 ; |
| 7816 | int res1 = 0 ; |
| 7817 | void *argp2 ; |
| 7818 | int res2 = 0 ; |
| 7819 | PyObject * obj0 = 0 ; |
| 7820 | PyObject * obj1 = 0 ; |
| 7821 | |
| 7822 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_int_upper_warning_limit_set",&obj0,&obj1)) SWIG_fail; |
| 7823 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7824 | if (!SWIG_IsOK(res1)) { |
| 7825 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_upper_warning_limit_set" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7826 | } |
| 7827 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7828 | { |
| 7829 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 7830 | if (!SWIG_IsOK(res2)) { |
| 7831 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_int_upper_warning_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7832 | } |
| 7833 | if (!argp2) { |
| 7834 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_int_upper_warning_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7835 | } else { |
| 7836 | arg2 = *((dbr_short_t *)(argp2)); |
| 7837 | } |
| 7838 | } |
| 7839 | if (arg1) (arg1)->upper_warning_limit = arg2; |
| 7840 | |
| 7841 | resultobj = SWIG_Py_Void(); |
| 7842 | return resultobj; |
| 7843 | fail: |
| 7844 | return NULL; |
| 7845 | } |
| 7846 | |
| 7847 | |
| 7848 | SWIGINTERN PyObject *_wrap_dbr_gr_int_upper_warning_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7849 | PyObject *resultobj = 0; |
| 7850 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7851 | dbr_short_t result; |
| 7852 | void *argp1 = 0 ; |
| 7853 | int res1 = 0 ; |
| 7854 | PyObject * obj0 = 0 ; |
| 7855 | |
| 7856 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_int_upper_warning_limit_get",&obj0)) SWIG_fail; |
| 7857 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7858 | if (!SWIG_IsOK(res1)) { |
| 7859 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_upper_warning_limit_get" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7860 | } |
| 7861 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7862 | result = ((arg1)->upper_warning_limit); |
| 7863 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 7864 | return resultobj; |
| 7865 | fail: |
| 7866 | return NULL; |
| 7867 | } |
| 7868 | |
| 7869 | |
| 7870 | SWIGINTERN PyObject *_wrap_dbr_gr_int_lower_warning_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7871 | PyObject *resultobj = 0; |
| 7872 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7873 | dbr_short_t arg2 ; |
| 7874 | void *argp1 = 0 ; |
| 7875 | int res1 = 0 ; |
| 7876 | void *argp2 ; |
| 7877 | int res2 = 0 ; |
| 7878 | PyObject * obj0 = 0 ; |
| 7879 | PyObject * obj1 = 0 ; |
| 7880 | |
| 7881 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_int_lower_warning_limit_set",&obj0,&obj1)) SWIG_fail; |
| 7882 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7883 | if (!SWIG_IsOK(res1)) { |
| 7884 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_lower_warning_limit_set" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7885 | } |
| 7886 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7887 | { |
| 7888 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 7889 | if (!SWIG_IsOK(res2)) { |
| 7890 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_int_lower_warning_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7891 | } |
| 7892 | if (!argp2) { |
| 7893 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_int_lower_warning_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7894 | } else { |
| 7895 | arg2 = *((dbr_short_t *)(argp2)); |
| 7896 | } |
| 7897 | } |
| 7898 | if (arg1) (arg1)->lower_warning_limit = arg2; |
| 7899 | |
| 7900 | resultobj = SWIG_Py_Void(); |
| 7901 | return resultobj; |
| 7902 | fail: |
| 7903 | return NULL; |
| 7904 | } |
| 7905 | |
| 7906 | |
| 7907 | SWIGINTERN PyObject *_wrap_dbr_gr_int_lower_warning_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7908 | PyObject *resultobj = 0; |
| 7909 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7910 | dbr_short_t result; |
| 7911 | void *argp1 = 0 ; |
| 7912 | int res1 = 0 ; |
| 7913 | PyObject * obj0 = 0 ; |
| 7914 | |
| 7915 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_int_lower_warning_limit_get",&obj0)) SWIG_fail; |
| 7916 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7917 | if (!SWIG_IsOK(res1)) { |
| 7918 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_lower_warning_limit_get" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7919 | } |
| 7920 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7921 | result = ((arg1)->lower_warning_limit); |
| 7922 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 7923 | return resultobj; |
| 7924 | fail: |
| 7925 | return NULL; |
| 7926 | } |
| 7927 | |
| 7928 | |
| 7929 | SWIGINTERN PyObject *_wrap_dbr_gr_int_lower_alarm_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7930 | PyObject *resultobj = 0; |
| 7931 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7932 | dbr_short_t arg2 ; |
| 7933 | void *argp1 = 0 ; |
| 7934 | int res1 = 0 ; |
| 7935 | void *argp2 ; |
| 7936 | int res2 = 0 ; |
| 7937 | PyObject * obj0 = 0 ; |
| 7938 | PyObject * obj1 = 0 ; |
| 7939 | |
| 7940 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_int_lower_alarm_limit_set",&obj0,&obj1)) SWIG_fail; |
| 7941 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7942 | if (!SWIG_IsOK(res1)) { |
| 7943 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_lower_alarm_limit_set" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7944 | } |
| 7945 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7946 | { |
| 7947 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 7948 | if (!SWIG_IsOK(res2)) { |
| 7949 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_int_lower_alarm_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7950 | } |
| 7951 | if (!argp2) { |
| 7952 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_int_lower_alarm_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 7953 | } else { |
| 7954 | arg2 = *((dbr_short_t *)(argp2)); |
| 7955 | } |
| 7956 | } |
| 7957 | if (arg1) (arg1)->lower_alarm_limit = arg2; |
| 7958 | |
| 7959 | resultobj = SWIG_Py_Void(); |
| 7960 | return resultobj; |
| 7961 | fail: |
| 7962 | return NULL; |
| 7963 | } |
| 7964 | |
| 7965 | |
| 7966 | SWIGINTERN PyObject *_wrap_dbr_gr_int_lower_alarm_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7967 | PyObject *resultobj = 0; |
| 7968 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7969 | dbr_short_t result; |
| 7970 | void *argp1 = 0 ; |
| 7971 | int res1 = 0 ; |
| 7972 | PyObject * obj0 = 0 ; |
| 7973 | |
| 7974 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_int_lower_alarm_limit_get",&obj0)) SWIG_fail; |
| 7975 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 7976 | if (!SWIG_IsOK(res1)) { |
| 7977 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_lower_alarm_limit_get" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 7978 | } |
| 7979 | arg1 = (struct dbr_gr_int *)(argp1); |
| 7980 | result = ((arg1)->lower_alarm_limit); |
| 7981 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 7982 | return resultobj; |
| 7983 | fail: |
| 7984 | return NULL; |
| 7985 | } |
| 7986 | |
| 7987 | |
| 7988 | SWIGINTERN PyObject *_wrap_dbr_gr_int_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 7989 | PyObject *resultobj = 0; |
| 7990 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 7991 | dbr_short_t arg2 ; |
| 7992 | void *argp1 = 0 ; |
| 7993 | int res1 = 0 ; |
| 7994 | void *argp2 ; |
| 7995 | int res2 = 0 ; |
| 7996 | PyObject * obj0 = 0 ; |
| 7997 | PyObject * obj1 = 0 ; |
| 7998 | |
| 7999 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_int_value_set",&obj0,&obj1)) SWIG_fail; |
| 8000 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 8001 | if (!SWIG_IsOK(res1)) { |
| 8002 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_value_set" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 8003 | } |
| 8004 | arg1 = (struct dbr_gr_int *)(argp1); |
| 8005 | { |
| 8006 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8007 | if (!SWIG_IsOK(res2)) { |
| 8008 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_int_value_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8009 | } |
| 8010 | if (!argp2) { |
| 8011 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_int_value_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8012 | } else { |
| 8013 | arg2 = *((dbr_short_t *)(argp2)); |
| 8014 | } |
| 8015 | } |
| 8016 | if (arg1) (arg1)->value = arg2; |
| 8017 | |
| 8018 | resultobj = SWIG_Py_Void(); |
| 8019 | return resultobj; |
| 8020 | fail: |
| 8021 | return NULL; |
| 8022 | } |
| 8023 | |
| 8024 | |
| 8025 | SWIGINTERN PyObject *_wrap_dbr_gr_int_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8026 | PyObject *resultobj = 0; |
| 8027 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 8028 | dbr_short_t result; |
| 8029 | void *argp1 = 0 ; |
| 8030 | int res1 = 0 ; |
| 8031 | PyObject * obj0 = 0 ; |
| 8032 | |
| 8033 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_int_value_get",&obj0)) SWIG_fail; |
| 8034 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, 0 | 0 ); |
| 8035 | if (!SWIG_IsOK(res1)) { |
| 8036 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_int_value_get" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 8037 | } |
| 8038 | arg1 = (struct dbr_gr_int *)(argp1); |
| 8039 | result = ((arg1)->value); |
| 8040 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8041 | return resultobj; |
| 8042 | fail: |
| 8043 | return NULL; |
| 8044 | } |
| 8045 | |
| 8046 | |
| 8047 | SWIGINTERN PyObject *_wrap_new_dbr_gr_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8048 | PyObject *resultobj = 0; |
| 8049 | struct dbr_gr_int *result = 0 ; |
| 8050 | |
| 8051 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_gr_int")) SWIG_fail; |
| 8052 | result = (struct dbr_gr_int *)(struct dbr_gr_int *) calloc(1, sizeof(struct dbr_gr_int)); |
| 8053 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_gr_int, SWIG_POINTER_NEW | 0 ); |
| 8054 | return resultobj; |
| 8055 | fail: |
| 8056 | return NULL; |
| 8057 | } |
| 8058 | |
| 8059 | |
| 8060 | SWIGINTERN PyObject *_wrap_delete_dbr_gr_int(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8061 | PyObject *resultobj = 0; |
| 8062 | struct dbr_gr_int *arg1 = (struct dbr_gr_int *) 0 ; |
| 8063 | void *argp1 = 0 ; |
| 8064 | int res1 = 0 ; |
| 8065 | PyObject * obj0 = 0 ; |
| 8066 | |
| 8067 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_gr_int",&obj0)) SWIG_fail; |
| 8068 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_int, SWIG_POINTER_DISOWN | 0 ); |
| 8069 | if (!SWIG_IsOK(res1)) { |
| 8070 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_gr_int" "', argument " "1"" of type '" "struct dbr_gr_int *""'"); |
| 8071 | } |
| 8072 | arg1 = (struct dbr_gr_int *)(argp1); |
| 8073 | free((char *) arg1); |
| 8074 | |
| 8075 | resultobj = SWIG_Py_Void(); |
| 8076 | return resultobj; |
| 8077 | fail: |
| 8078 | return NULL; |
| 8079 | } |
| 8080 | |
| 8081 | |
| 8082 | SWIGINTERN PyObject *dbr_gr_int_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8083 | PyObject *obj; |
| 8084 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 8085 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_gr_int, SWIG_NewClientData(obj)); |
| 8086 | return SWIG_Py_Void(); |
| 8087 | } |
| 8088 | |
| 8089 | SWIGINTERN PyObject *_wrap_dbr_gr_short_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8090 | PyObject *resultobj = 0; |
| 8091 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8092 | dbr_short_t arg2 ; |
| 8093 | void *argp1 = 0 ; |
| 8094 | int res1 = 0 ; |
| 8095 | void *argp2 ; |
| 8096 | int res2 = 0 ; |
| 8097 | PyObject * obj0 = 0 ; |
| 8098 | PyObject * obj1 = 0 ; |
| 8099 | |
| 8100 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_short_status_set",&obj0,&obj1)) SWIG_fail; |
| 8101 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8102 | if (!SWIG_IsOK(res1)) { |
| 8103 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_status_set" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8104 | } |
| 8105 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8106 | { |
| 8107 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8108 | if (!SWIG_IsOK(res2)) { |
| 8109 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_short_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8110 | } |
| 8111 | if (!argp2) { |
| 8112 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_short_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8113 | } else { |
| 8114 | arg2 = *((dbr_short_t *)(argp2)); |
| 8115 | } |
| 8116 | } |
| 8117 | if (arg1) (arg1)->status = arg2; |
| 8118 | |
| 8119 | resultobj = SWIG_Py_Void(); |
| 8120 | return resultobj; |
| 8121 | fail: |
| 8122 | return NULL; |
| 8123 | } |
| 8124 | |
| 8125 | |
| 8126 | SWIGINTERN PyObject *_wrap_dbr_gr_short_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8127 | PyObject *resultobj = 0; |
| 8128 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8129 | dbr_short_t result; |
| 8130 | void *argp1 = 0 ; |
| 8131 | int res1 = 0 ; |
| 8132 | PyObject * obj0 = 0 ; |
| 8133 | |
| 8134 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_short_status_get",&obj0)) SWIG_fail; |
| 8135 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8136 | if (!SWIG_IsOK(res1)) { |
| 8137 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_status_get" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8138 | } |
| 8139 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8140 | result = ((arg1)->status); |
| 8141 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8142 | return resultobj; |
| 8143 | fail: |
| 8144 | return NULL; |
| 8145 | } |
| 8146 | |
| 8147 | |
| 8148 | SWIGINTERN PyObject *_wrap_dbr_gr_short_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8149 | PyObject *resultobj = 0; |
| 8150 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8151 | dbr_short_t arg2 ; |
| 8152 | void *argp1 = 0 ; |
| 8153 | int res1 = 0 ; |
| 8154 | void *argp2 ; |
| 8155 | int res2 = 0 ; |
| 8156 | PyObject * obj0 = 0 ; |
| 8157 | PyObject * obj1 = 0 ; |
| 8158 | |
| 8159 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_short_severity_set",&obj0,&obj1)) SWIG_fail; |
| 8160 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8161 | if (!SWIG_IsOK(res1)) { |
| 8162 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_severity_set" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8163 | } |
| 8164 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8165 | { |
| 8166 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8167 | if (!SWIG_IsOK(res2)) { |
| 8168 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_short_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8169 | } |
| 8170 | if (!argp2) { |
| 8171 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_short_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8172 | } else { |
| 8173 | arg2 = *((dbr_short_t *)(argp2)); |
| 8174 | } |
| 8175 | } |
| 8176 | if (arg1) (arg1)->severity = arg2; |
| 8177 | |
| 8178 | resultobj = SWIG_Py_Void(); |
| 8179 | return resultobj; |
| 8180 | fail: |
| 8181 | return NULL; |
| 8182 | } |
| 8183 | |
| 8184 | |
| 8185 | SWIGINTERN PyObject *_wrap_dbr_gr_short_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8186 | PyObject *resultobj = 0; |
| 8187 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8188 | dbr_short_t result; |
| 8189 | void *argp1 = 0 ; |
| 8190 | int res1 = 0 ; |
| 8191 | PyObject * obj0 = 0 ; |
| 8192 | |
| 8193 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_short_severity_get",&obj0)) SWIG_fail; |
| 8194 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8195 | if (!SWIG_IsOK(res1)) { |
| 8196 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_severity_get" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8197 | } |
| 8198 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8199 | result = ((arg1)->severity); |
| 8200 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8201 | return resultobj; |
| 8202 | fail: |
| 8203 | return NULL; |
| 8204 | } |
| 8205 | |
| 8206 | |
| 8207 | SWIGINTERN PyObject *_wrap_dbr_gr_short_units_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8208 | PyObject *resultobj = 0; |
| 8209 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8210 | char *arg2 ; |
| 8211 | void *argp1 = 0 ; |
| 8212 | int res1 = 0 ; |
| 8213 | char temp2[MAX_UNITS_SIZE] ; |
| 8214 | int res2 ; |
| 8215 | PyObject * obj0 = 0 ; |
| 8216 | PyObject * obj1 = 0 ; |
| 8217 | |
| 8218 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_short_units_set",&obj0,&obj1)) SWIG_fail; |
| 8219 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8220 | if (!SWIG_IsOK(res1)) { |
| 8221 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_units_set" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8222 | } |
| 8223 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8224 | res2 = SWIG_AsCharArray(obj1, temp2, MAX_UNITS_SIZE); |
| 8225 | if (!SWIG_IsOK(res2)) { |
| 8226 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_short_units_set" "', argument " "2"" of type '" "char [MAX_UNITS_SIZE]""'"); |
| 8227 | } |
| 8228 | arg2 = (char *)(temp2); |
| 8229 | if (arg2) memcpy(arg1->units,arg2,MAX_UNITS_SIZE*sizeof(char)); |
| 8230 | else memset(arg1->units,0,MAX_UNITS_SIZE*sizeof(char)); |
| 8231 | resultobj = SWIG_Py_Void(); |
| 8232 | return resultobj; |
| 8233 | fail: |
| 8234 | return NULL; |
| 8235 | } |
| 8236 | |
| 8237 | |
| 8238 | SWIGINTERN PyObject *_wrap_dbr_gr_short_units_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8239 | PyObject *resultobj = 0; |
| 8240 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8241 | char *result = 0 ; |
| 8242 | void *argp1 = 0 ; |
| 8243 | int res1 = 0 ; |
| 8244 | PyObject * obj0 = 0 ; |
| 8245 | |
| 8246 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_short_units_get",&obj0)) SWIG_fail; |
| 8247 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8248 | if (!SWIG_IsOK(res1)) { |
| 8249 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_units_get" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8250 | } |
| 8251 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8252 | result = (char *)(char *) ((arg1)->units); |
| 8253 | { |
| 8254 | size_t size = MAX_UNITS_SIZE; |
| 8255 | |
| 8256 | while (size && (result[size - 1] == '\0')) --size; |
| 8257 | |
| 8258 | resultobj = SWIG_FromCharPtrAndSize(result, size); |
| 8259 | } |
| 8260 | return resultobj; |
| 8261 | fail: |
| 8262 | return NULL; |
| 8263 | } |
| 8264 | |
| 8265 | |
| 8266 | SWIGINTERN PyObject *_wrap_dbr_gr_short_upper_disp_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8267 | PyObject *resultobj = 0; |
| 8268 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8269 | dbr_short_t arg2 ; |
| 8270 | void *argp1 = 0 ; |
| 8271 | int res1 = 0 ; |
| 8272 | void *argp2 ; |
| 8273 | int res2 = 0 ; |
| 8274 | PyObject * obj0 = 0 ; |
| 8275 | PyObject * obj1 = 0 ; |
| 8276 | |
| 8277 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_short_upper_disp_limit_set",&obj0,&obj1)) SWIG_fail; |
| 8278 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8279 | if (!SWIG_IsOK(res1)) { |
| 8280 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_upper_disp_limit_set" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8281 | } |
| 8282 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8283 | { |
| 8284 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8285 | if (!SWIG_IsOK(res2)) { |
| 8286 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_short_upper_disp_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8287 | } |
| 8288 | if (!argp2) { |
| 8289 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_short_upper_disp_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8290 | } else { |
| 8291 | arg2 = *((dbr_short_t *)(argp2)); |
| 8292 | } |
| 8293 | } |
| 8294 | if (arg1) (arg1)->upper_disp_limit = arg2; |
| 8295 | |
| 8296 | resultobj = SWIG_Py_Void(); |
| 8297 | return resultobj; |
| 8298 | fail: |
| 8299 | return NULL; |
| 8300 | } |
| 8301 | |
| 8302 | |
| 8303 | SWIGINTERN PyObject *_wrap_dbr_gr_short_upper_disp_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8304 | PyObject *resultobj = 0; |
| 8305 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8306 | dbr_short_t result; |
| 8307 | void *argp1 = 0 ; |
| 8308 | int res1 = 0 ; |
| 8309 | PyObject * obj0 = 0 ; |
| 8310 | |
| 8311 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_short_upper_disp_limit_get",&obj0)) SWIG_fail; |
| 8312 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8313 | if (!SWIG_IsOK(res1)) { |
| 8314 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_upper_disp_limit_get" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8315 | } |
| 8316 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8317 | result = ((arg1)->upper_disp_limit); |
| 8318 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8319 | return resultobj; |
| 8320 | fail: |
| 8321 | return NULL; |
| 8322 | } |
| 8323 | |
| 8324 | |
| 8325 | SWIGINTERN PyObject *_wrap_dbr_gr_short_lower_disp_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8326 | PyObject *resultobj = 0; |
| 8327 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8328 | dbr_short_t arg2 ; |
| 8329 | void *argp1 = 0 ; |
| 8330 | int res1 = 0 ; |
| 8331 | void *argp2 ; |
| 8332 | int res2 = 0 ; |
| 8333 | PyObject * obj0 = 0 ; |
| 8334 | PyObject * obj1 = 0 ; |
| 8335 | |
| 8336 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_short_lower_disp_limit_set",&obj0,&obj1)) SWIG_fail; |
| 8337 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8338 | if (!SWIG_IsOK(res1)) { |
| 8339 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_lower_disp_limit_set" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8340 | } |
| 8341 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8342 | { |
| 8343 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8344 | if (!SWIG_IsOK(res2)) { |
| 8345 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_short_lower_disp_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8346 | } |
| 8347 | if (!argp2) { |
| 8348 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_short_lower_disp_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8349 | } else { |
| 8350 | arg2 = *((dbr_short_t *)(argp2)); |
| 8351 | } |
| 8352 | } |
| 8353 | if (arg1) (arg1)->lower_disp_limit = arg2; |
| 8354 | |
| 8355 | resultobj = SWIG_Py_Void(); |
| 8356 | return resultobj; |
| 8357 | fail: |
| 8358 | return NULL; |
| 8359 | } |
| 8360 | |
| 8361 | |
| 8362 | SWIGINTERN PyObject *_wrap_dbr_gr_short_lower_disp_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8363 | PyObject *resultobj = 0; |
| 8364 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8365 | dbr_short_t result; |
| 8366 | void *argp1 = 0 ; |
| 8367 | int res1 = 0 ; |
| 8368 | PyObject * obj0 = 0 ; |
| 8369 | |
| 8370 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_short_lower_disp_limit_get",&obj0)) SWIG_fail; |
| 8371 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8372 | if (!SWIG_IsOK(res1)) { |
| 8373 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_lower_disp_limit_get" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8374 | } |
| 8375 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8376 | result = ((arg1)->lower_disp_limit); |
| 8377 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8378 | return resultobj; |
| 8379 | fail: |
| 8380 | return NULL; |
| 8381 | } |
| 8382 | |
| 8383 | |
| 8384 | SWIGINTERN PyObject *_wrap_dbr_gr_short_upper_alarm_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8385 | PyObject *resultobj = 0; |
| 8386 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8387 | dbr_short_t arg2 ; |
| 8388 | void *argp1 = 0 ; |
| 8389 | int res1 = 0 ; |
| 8390 | void *argp2 ; |
| 8391 | int res2 = 0 ; |
| 8392 | PyObject * obj0 = 0 ; |
| 8393 | PyObject * obj1 = 0 ; |
| 8394 | |
| 8395 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_short_upper_alarm_limit_set",&obj0,&obj1)) SWIG_fail; |
| 8396 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8397 | if (!SWIG_IsOK(res1)) { |
| 8398 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_upper_alarm_limit_set" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8399 | } |
| 8400 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8401 | { |
| 8402 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8403 | if (!SWIG_IsOK(res2)) { |
| 8404 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_short_upper_alarm_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8405 | } |
| 8406 | if (!argp2) { |
| 8407 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_short_upper_alarm_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8408 | } else { |
| 8409 | arg2 = *((dbr_short_t *)(argp2)); |
| 8410 | } |
| 8411 | } |
| 8412 | if (arg1) (arg1)->upper_alarm_limit = arg2; |
| 8413 | |
| 8414 | resultobj = SWIG_Py_Void(); |
| 8415 | return resultobj; |
| 8416 | fail: |
| 8417 | return NULL; |
| 8418 | } |
| 8419 | |
| 8420 | |
| 8421 | SWIGINTERN PyObject *_wrap_dbr_gr_short_upper_alarm_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8422 | PyObject *resultobj = 0; |
| 8423 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8424 | dbr_short_t result; |
| 8425 | void *argp1 = 0 ; |
| 8426 | int res1 = 0 ; |
| 8427 | PyObject * obj0 = 0 ; |
| 8428 | |
| 8429 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_short_upper_alarm_limit_get",&obj0)) SWIG_fail; |
| 8430 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8431 | if (!SWIG_IsOK(res1)) { |
| 8432 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_upper_alarm_limit_get" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8433 | } |
| 8434 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8435 | result = ((arg1)->upper_alarm_limit); |
| 8436 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8437 | return resultobj; |
| 8438 | fail: |
| 8439 | return NULL; |
| 8440 | } |
| 8441 | |
| 8442 | |
| 8443 | SWIGINTERN PyObject *_wrap_dbr_gr_short_upper_warning_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8444 | PyObject *resultobj = 0; |
| 8445 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8446 | dbr_short_t arg2 ; |
| 8447 | void *argp1 = 0 ; |
| 8448 | int res1 = 0 ; |
| 8449 | void *argp2 ; |
| 8450 | int res2 = 0 ; |
| 8451 | PyObject * obj0 = 0 ; |
| 8452 | PyObject * obj1 = 0 ; |
| 8453 | |
| 8454 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_short_upper_warning_limit_set",&obj0,&obj1)) SWIG_fail; |
| 8455 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8456 | if (!SWIG_IsOK(res1)) { |
| 8457 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_upper_warning_limit_set" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8458 | } |
| 8459 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8460 | { |
| 8461 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8462 | if (!SWIG_IsOK(res2)) { |
| 8463 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_short_upper_warning_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8464 | } |
| 8465 | if (!argp2) { |
| 8466 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_short_upper_warning_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8467 | } else { |
| 8468 | arg2 = *((dbr_short_t *)(argp2)); |
| 8469 | } |
| 8470 | } |
| 8471 | if (arg1) (arg1)->upper_warning_limit = arg2; |
| 8472 | |
| 8473 | resultobj = SWIG_Py_Void(); |
| 8474 | return resultobj; |
| 8475 | fail: |
| 8476 | return NULL; |
| 8477 | } |
| 8478 | |
| 8479 | |
| 8480 | SWIGINTERN PyObject *_wrap_dbr_gr_short_upper_warning_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8481 | PyObject *resultobj = 0; |
| 8482 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8483 | dbr_short_t result; |
| 8484 | void *argp1 = 0 ; |
| 8485 | int res1 = 0 ; |
| 8486 | PyObject * obj0 = 0 ; |
| 8487 | |
| 8488 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_short_upper_warning_limit_get",&obj0)) SWIG_fail; |
| 8489 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8490 | if (!SWIG_IsOK(res1)) { |
| 8491 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_upper_warning_limit_get" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8492 | } |
| 8493 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8494 | result = ((arg1)->upper_warning_limit); |
| 8495 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8496 | return resultobj; |
| 8497 | fail: |
| 8498 | return NULL; |
| 8499 | } |
| 8500 | |
| 8501 | |
| 8502 | SWIGINTERN PyObject *_wrap_dbr_gr_short_lower_warning_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8503 | PyObject *resultobj = 0; |
| 8504 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8505 | dbr_short_t arg2 ; |
| 8506 | void *argp1 = 0 ; |
| 8507 | int res1 = 0 ; |
| 8508 | void *argp2 ; |
| 8509 | int res2 = 0 ; |
| 8510 | PyObject * obj0 = 0 ; |
| 8511 | PyObject * obj1 = 0 ; |
| 8512 | |
| 8513 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_short_lower_warning_limit_set",&obj0,&obj1)) SWIG_fail; |
| 8514 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8515 | if (!SWIG_IsOK(res1)) { |
| 8516 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_lower_warning_limit_set" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8517 | } |
| 8518 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8519 | { |
| 8520 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8521 | if (!SWIG_IsOK(res2)) { |
| 8522 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_short_lower_warning_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8523 | } |
| 8524 | if (!argp2) { |
| 8525 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_short_lower_warning_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8526 | } else { |
| 8527 | arg2 = *((dbr_short_t *)(argp2)); |
| 8528 | } |
| 8529 | } |
| 8530 | if (arg1) (arg1)->lower_warning_limit = arg2; |
| 8531 | |
| 8532 | resultobj = SWIG_Py_Void(); |
| 8533 | return resultobj; |
| 8534 | fail: |
| 8535 | return NULL; |
| 8536 | } |
| 8537 | |
| 8538 | |
| 8539 | SWIGINTERN PyObject *_wrap_dbr_gr_short_lower_warning_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8540 | PyObject *resultobj = 0; |
| 8541 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8542 | dbr_short_t result; |
| 8543 | void *argp1 = 0 ; |
| 8544 | int res1 = 0 ; |
| 8545 | PyObject * obj0 = 0 ; |
| 8546 | |
| 8547 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_short_lower_warning_limit_get",&obj0)) SWIG_fail; |
| 8548 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8549 | if (!SWIG_IsOK(res1)) { |
| 8550 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_lower_warning_limit_get" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8551 | } |
| 8552 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8553 | result = ((arg1)->lower_warning_limit); |
| 8554 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8555 | return resultobj; |
| 8556 | fail: |
| 8557 | return NULL; |
| 8558 | } |
| 8559 | |
| 8560 | |
| 8561 | SWIGINTERN PyObject *_wrap_dbr_gr_short_lower_alarm_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8562 | PyObject *resultobj = 0; |
| 8563 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8564 | dbr_short_t arg2 ; |
| 8565 | void *argp1 = 0 ; |
| 8566 | int res1 = 0 ; |
| 8567 | void *argp2 ; |
| 8568 | int res2 = 0 ; |
| 8569 | PyObject * obj0 = 0 ; |
| 8570 | PyObject * obj1 = 0 ; |
| 8571 | |
| 8572 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_short_lower_alarm_limit_set",&obj0,&obj1)) SWIG_fail; |
| 8573 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8574 | if (!SWIG_IsOK(res1)) { |
| 8575 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_lower_alarm_limit_set" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8576 | } |
| 8577 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8578 | { |
| 8579 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8580 | if (!SWIG_IsOK(res2)) { |
| 8581 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_short_lower_alarm_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8582 | } |
| 8583 | if (!argp2) { |
| 8584 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_short_lower_alarm_limit_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8585 | } else { |
| 8586 | arg2 = *((dbr_short_t *)(argp2)); |
| 8587 | } |
| 8588 | } |
| 8589 | if (arg1) (arg1)->lower_alarm_limit = arg2; |
| 8590 | |
| 8591 | resultobj = SWIG_Py_Void(); |
| 8592 | return resultobj; |
| 8593 | fail: |
| 8594 | return NULL; |
| 8595 | } |
| 8596 | |
| 8597 | |
| 8598 | SWIGINTERN PyObject *_wrap_dbr_gr_short_lower_alarm_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8599 | PyObject *resultobj = 0; |
| 8600 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8601 | dbr_short_t result; |
| 8602 | void *argp1 = 0 ; |
| 8603 | int res1 = 0 ; |
| 8604 | PyObject * obj0 = 0 ; |
| 8605 | |
| 8606 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_short_lower_alarm_limit_get",&obj0)) SWIG_fail; |
| 8607 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8608 | if (!SWIG_IsOK(res1)) { |
| 8609 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_lower_alarm_limit_get" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8610 | } |
| 8611 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8612 | result = ((arg1)->lower_alarm_limit); |
| 8613 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8614 | return resultobj; |
| 8615 | fail: |
| 8616 | return NULL; |
| 8617 | } |
| 8618 | |
| 8619 | |
| 8620 | SWIGINTERN PyObject *_wrap_dbr_gr_short_value_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8621 | PyObject *resultobj = 0; |
| 8622 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8623 | dbr_short_t arg2 ; |
| 8624 | void *argp1 = 0 ; |
| 8625 | int res1 = 0 ; |
| 8626 | void *argp2 ; |
| 8627 | int res2 = 0 ; |
| 8628 | PyObject * obj0 = 0 ; |
| 8629 | PyObject * obj1 = 0 ; |
| 8630 | |
| 8631 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_short_value_set",&obj0,&obj1)) SWIG_fail; |
| 8632 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8633 | if (!SWIG_IsOK(res1)) { |
| 8634 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_value_set" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8635 | } |
| 8636 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8637 | { |
| 8638 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8639 | if (!SWIG_IsOK(res2)) { |
| 8640 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_short_value_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8641 | } |
| 8642 | if (!argp2) { |
| 8643 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_short_value_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8644 | } else { |
| 8645 | arg2 = *((dbr_short_t *)(argp2)); |
| 8646 | } |
| 8647 | } |
| 8648 | if (arg1) (arg1)->value = arg2; |
| 8649 | |
| 8650 | resultobj = SWIG_Py_Void(); |
| 8651 | return resultobj; |
| 8652 | fail: |
| 8653 | return NULL; |
| 8654 | } |
| 8655 | |
| 8656 | |
| 8657 | SWIGINTERN PyObject *_wrap_dbr_gr_short_value_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8658 | PyObject *resultobj = 0; |
| 8659 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8660 | dbr_short_t result; |
| 8661 | void *argp1 = 0 ; |
| 8662 | int res1 = 0 ; |
| 8663 | PyObject * obj0 = 0 ; |
| 8664 | |
| 8665 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_short_value_get",&obj0)) SWIG_fail; |
| 8666 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, 0 | 0 ); |
| 8667 | if (!SWIG_IsOK(res1)) { |
| 8668 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_short_value_get" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8669 | } |
| 8670 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8671 | result = ((arg1)->value); |
| 8672 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8673 | return resultobj; |
| 8674 | fail: |
| 8675 | return NULL; |
| 8676 | } |
| 8677 | |
| 8678 | |
| 8679 | SWIGINTERN PyObject *_wrap_new_dbr_gr_short(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8680 | PyObject *resultobj = 0; |
| 8681 | struct dbr_gr_short *result = 0 ; |
| 8682 | |
| 8683 | if (!PyArg_ParseTuple(args,(char *)":new_dbr_gr_short")) SWIG_fail; |
| 8684 | result = (struct dbr_gr_short *)(struct dbr_gr_short *) calloc(1, sizeof(struct dbr_gr_short)); |
| 8685 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_dbr_gr_short, SWIG_POINTER_NEW | 0 ); |
| 8686 | return resultobj; |
| 8687 | fail: |
| 8688 | return NULL; |
| 8689 | } |
| 8690 | |
| 8691 | |
| 8692 | SWIGINTERN PyObject *_wrap_delete_dbr_gr_short(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8693 | PyObject *resultobj = 0; |
| 8694 | struct dbr_gr_short *arg1 = (struct dbr_gr_short *) 0 ; |
| 8695 | void *argp1 = 0 ; |
| 8696 | int res1 = 0 ; |
| 8697 | PyObject * obj0 = 0 ; |
| 8698 | |
| 8699 | if (!PyArg_ParseTuple(args,(char *)"O:delete_dbr_gr_short",&obj0)) SWIG_fail; |
| 8700 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_short, SWIG_POINTER_DISOWN | 0 ); |
| 8701 | if (!SWIG_IsOK(res1)) { |
| 8702 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_dbr_gr_short" "', argument " "1"" of type '" "struct dbr_gr_short *""'"); |
| 8703 | } |
| 8704 | arg1 = (struct dbr_gr_short *)(argp1); |
| 8705 | free((char *) arg1); |
| 8706 | |
| 8707 | resultobj = SWIG_Py_Void(); |
| 8708 | return resultobj; |
| 8709 | fail: |
| 8710 | return NULL; |
| 8711 | } |
| 8712 | |
| 8713 | |
| 8714 | SWIGINTERN PyObject *dbr_gr_short_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8715 | PyObject *obj; |
| 8716 | if (!PyArg_ParseTuple(args,(char*)"O:swigregister", &obj)) return NULL; |
| 8717 | SWIG_TypeNewClientData(SWIGTYPE_p_dbr_gr_short, SWIG_NewClientData(obj)); |
| 8718 | return SWIG_Py_Void(); |
| 8719 | } |
| 8720 | |
| 8721 | SWIGINTERN PyObject *_wrap_dbr_gr_float_status_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8722 | PyObject *resultobj = 0; |
| 8723 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 8724 | dbr_short_t arg2 ; |
| 8725 | void *argp1 = 0 ; |
| 8726 | int res1 = 0 ; |
| 8727 | void *argp2 ; |
| 8728 | int res2 = 0 ; |
| 8729 | PyObject * obj0 = 0 ; |
| 8730 | PyObject * obj1 = 0 ; |
| 8731 | |
| 8732 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_float_status_set",&obj0,&obj1)) SWIG_fail; |
| 8733 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 8734 | if (!SWIG_IsOK(res1)) { |
| 8735 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_status_set" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 8736 | } |
| 8737 | arg1 = (struct dbr_gr_float *)(argp1); |
| 8738 | { |
| 8739 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8740 | if (!SWIG_IsOK(res2)) { |
| 8741 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_float_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8742 | } |
| 8743 | if (!argp2) { |
| 8744 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_float_status_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8745 | } else { |
| 8746 | arg2 = *((dbr_short_t *)(argp2)); |
| 8747 | } |
| 8748 | } |
| 8749 | if (arg1) (arg1)->status = arg2; |
| 8750 | |
| 8751 | resultobj = SWIG_Py_Void(); |
| 8752 | return resultobj; |
| 8753 | fail: |
| 8754 | return NULL; |
| 8755 | } |
| 8756 | |
| 8757 | |
| 8758 | SWIGINTERN PyObject *_wrap_dbr_gr_float_status_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8759 | PyObject *resultobj = 0; |
| 8760 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 8761 | dbr_short_t result; |
| 8762 | void *argp1 = 0 ; |
| 8763 | int res1 = 0 ; |
| 8764 | PyObject * obj0 = 0 ; |
| 8765 | |
| 8766 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_float_status_get",&obj0)) SWIG_fail; |
| 8767 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 8768 | if (!SWIG_IsOK(res1)) { |
| 8769 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_status_get" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 8770 | } |
| 8771 | arg1 = (struct dbr_gr_float *)(argp1); |
| 8772 | result = ((arg1)->status); |
| 8773 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8774 | return resultobj; |
| 8775 | fail: |
| 8776 | return NULL; |
| 8777 | } |
| 8778 | |
| 8779 | |
| 8780 | SWIGINTERN PyObject *_wrap_dbr_gr_float_severity_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8781 | PyObject *resultobj = 0; |
| 8782 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 8783 | dbr_short_t arg2 ; |
| 8784 | void *argp1 = 0 ; |
| 8785 | int res1 = 0 ; |
| 8786 | void *argp2 ; |
| 8787 | int res2 = 0 ; |
| 8788 | PyObject * obj0 = 0 ; |
| 8789 | PyObject * obj1 = 0 ; |
| 8790 | |
| 8791 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_float_severity_set",&obj0,&obj1)) SWIG_fail; |
| 8792 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 8793 | if (!SWIG_IsOK(res1)) { |
| 8794 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_severity_set" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 8795 | } |
| 8796 | arg1 = (struct dbr_gr_float *)(argp1); |
| 8797 | { |
| 8798 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8799 | if (!SWIG_IsOK(res2)) { |
| 8800 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_float_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8801 | } |
| 8802 | if (!argp2) { |
| 8803 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_float_severity_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8804 | } else { |
| 8805 | arg2 = *((dbr_short_t *)(argp2)); |
| 8806 | } |
| 8807 | } |
| 8808 | if (arg1) (arg1)->severity = arg2; |
| 8809 | |
| 8810 | resultobj = SWIG_Py_Void(); |
| 8811 | return resultobj; |
| 8812 | fail: |
| 8813 | return NULL; |
| 8814 | } |
| 8815 | |
| 8816 | |
| 8817 | SWIGINTERN PyObject *_wrap_dbr_gr_float_severity_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8818 | PyObject *resultobj = 0; |
| 8819 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 8820 | dbr_short_t result; |
| 8821 | void *argp1 = 0 ; |
| 8822 | int res1 = 0 ; |
| 8823 | PyObject * obj0 = 0 ; |
| 8824 | |
| 8825 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_float_severity_get",&obj0)) SWIG_fail; |
| 8826 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 8827 | if (!SWIG_IsOK(res1)) { |
| 8828 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_severity_get" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 8829 | } |
| 8830 | arg1 = (struct dbr_gr_float *)(argp1); |
| 8831 | result = ((arg1)->severity); |
| 8832 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8833 | return resultobj; |
| 8834 | fail: |
| 8835 | return NULL; |
| 8836 | } |
| 8837 | |
| 8838 | |
| 8839 | SWIGINTERN PyObject *_wrap_dbr_gr_float_precision_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8840 | PyObject *resultobj = 0; |
| 8841 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 8842 | dbr_short_t arg2 ; |
| 8843 | void *argp1 = 0 ; |
| 8844 | int res1 = 0 ; |
| 8845 | void *argp2 ; |
| 8846 | int res2 = 0 ; |
| 8847 | PyObject * obj0 = 0 ; |
| 8848 | PyObject * obj1 = 0 ; |
| 8849 | |
| 8850 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_float_precision_set",&obj0,&obj1)) SWIG_fail; |
| 8851 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 8852 | if (!SWIG_IsOK(res1)) { |
| 8853 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_precision_set" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 8854 | } |
| 8855 | arg1 = (struct dbr_gr_float *)(argp1); |
| 8856 | { |
| 8857 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8858 | if (!SWIG_IsOK(res2)) { |
| 8859 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_float_precision_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8860 | } |
| 8861 | if (!argp2) { |
| 8862 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_float_precision_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8863 | } else { |
| 8864 | arg2 = *((dbr_short_t *)(argp2)); |
| 8865 | } |
| 8866 | } |
| 8867 | if (arg1) (arg1)->precision = arg2; |
| 8868 | |
| 8869 | resultobj = SWIG_Py_Void(); |
| 8870 | return resultobj; |
| 8871 | fail: |
| 8872 | return NULL; |
| 8873 | } |
| 8874 | |
| 8875 | |
| 8876 | SWIGINTERN PyObject *_wrap_dbr_gr_float_precision_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8877 | PyObject *resultobj = 0; |
| 8878 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 8879 | dbr_short_t result; |
| 8880 | void *argp1 = 0 ; |
| 8881 | int res1 = 0 ; |
| 8882 | PyObject * obj0 = 0 ; |
| 8883 | |
| 8884 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_float_precision_get",&obj0)) SWIG_fail; |
| 8885 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 8886 | if (!SWIG_IsOK(res1)) { |
| 8887 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_precision_get" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 8888 | } |
| 8889 | arg1 = (struct dbr_gr_float *)(argp1); |
| 8890 | result = ((arg1)->precision); |
| 8891 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8892 | return resultobj; |
| 8893 | fail: |
| 8894 | return NULL; |
| 8895 | } |
| 8896 | |
| 8897 | |
| 8898 | SWIGINTERN PyObject *_wrap_dbr_gr_float_RISC_pad0_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8899 | PyObject *resultobj = 0; |
| 8900 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 8901 | dbr_short_t arg2 ; |
| 8902 | void *argp1 = 0 ; |
| 8903 | int res1 = 0 ; |
| 8904 | void *argp2 ; |
| 8905 | int res2 = 0 ; |
| 8906 | PyObject * obj0 = 0 ; |
| 8907 | PyObject * obj1 = 0 ; |
| 8908 | |
| 8909 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_float_RISC_pad0_set",&obj0,&obj1)) SWIG_fail; |
| 8910 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 8911 | if (!SWIG_IsOK(res1)) { |
| 8912 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_RISC_pad0_set" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 8913 | } |
| 8914 | arg1 = (struct dbr_gr_float *)(argp1); |
| 8915 | { |
| 8916 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsInt16, 0 ); |
| 8917 | if (!SWIG_IsOK(res2)) { |
| 8918 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_float_RISC_pad0_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8919 | } |
| 8920 | if (!argp2) { |
| 8921 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_float_RISC_pad0_set" "', argument " "2"" of type '" "dbr_short_t""'"); |
| 8922 | } else { |
| 8923 | arg2 = *((dbr_short_t *)(argp2)); |
| 8924 | } |
| 8925 | } |
| 8926 | if (arg1) (arg1)->RISC_pad0 = arg2; |
| 8927 | |
| 8928 | resultobj = SWIG_Py_Void(); |
| 8929 | return resultobj; |
| 8930 | fail: |
| 8931 | return NULL; |
| 8932 | } |
| 8933 | |
| 8934 | |
| 8935 | SWIGINTERN PyObject *_wrap_dbr_gr_float_RISC_pad0_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8936 | PyObject *resultobj = 0; |
| 8937 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 8938 | dbr_short_t result; |
| 8939 | void *argp1 = 0 ; |
| 8940 | int res1 = 0 ; |
| 8941 | PyObject * obj0 = 0 ; |
| 8942 | |
| 8943 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_float_RISC_pad0_get",&obj0)) SWIG_fail; |
| 8944 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 8945 | if (!SWIG_IsOK(res1)) { |
| 8946 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_RISC_pad0_get" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 8947 | } |
| 8948 | arg1 = (struct dbr_gr_float *)(argp1); |
| 8949 | result = ((arg1)->RISC_pad0); |
| 8950 | resultobj = SWIG_NewPointerObj((dbr_short_t *)memcpy((dbr_short_t *)malloc(sizeof(dbr_short_t)),&result,sizeof(dbr_short_t)), SWIGTYPE_p_epicsInt16, SWIG_POINTER_OWN | 0 ); |
| 8951 | return resultobj; |
| 8952 | fail: |
| 8953 | return NULL; |
| 8954 | } |
| 8955 | |
| 8956 | |
| 8957 | SWIGINTERN PyObject *_wrap_dbr_gr_float_units_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8958 | PyObject *resultobj = 0; |
| 8959 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 8960 | char *arg2 ; |
| 8961 | void *argp1 = 0 ; |
| 8962 | int res1 = 0 ; |
| 8963 | char temp2[MAX_UNITS_SIZE] ; |
| 8964 | int res2 ; |
| 8965 | PyObject * obj0 = 0 ; |
| 8966 | PyObject * obj1 = 0 ; |
| 8967 | |
| 8968 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_float_units_set",&obj0,&obj1)) SWIG_fail; |
| 8969 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 8970 | if (!SWIG_IsOK(res1)) { |
| 8971 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_units_set" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 8972 | } |
| 8973 | arg1 = (struct dbr_gr_float *)(argp1); |
| 8974 | res2 = SWIG_AsCharArray(obj1, temp2, MAX_UNITS_SIZE); |
| 8975 | if (!SWIG_IsOK(res2)) { |
| 8976 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_float_units_set" "', argument " "2"" of type '" "char [MAX_UNITS_SIZE]""'"); |
| 8977 | } |
| 8978 | arg2 = (char *)(temp2); |
| 8979 | if (arg2) memcpy(arg1->units,arg2,MAX_UNITS_SIZE*sizeof(char)); |
| 8980 | else memset(arg1->units,0,MAX_UNITS_SIZE*sizeof(char)); |
| 8981 | resultobj = SWIG_Py_Void(); |
| 8982 | return resultobj; |
| 8983 | fail: |
| 8984 | return NULL; |
| 8985 | } |
| 8986 | |
| 8987 | |
| 8988 | SWIGINTERN PyObject *_wrap_dbr_gr_float_units_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 8989 | PyObject *resultobj = 0; |
| 8990 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 8991 | char *result = 0 ; |
| 8992 | void *argp1 = 0 ; |
| 8993 | int res1 = 0 ; |
| 8994 | PyObject * obj0 = 0 ; |
| 8995 | |
| 8996 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_float_units_get",&obj0)) SWIG_fail; |
| 8997 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 8998 | if (!SWIG_IsOK(res1)) { |
| 8999 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_units_get" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 9000 | } |
| 9001 | arg1 = (struct dbr_gr_float *)(argp1); |
| 9002 | result = (char *)(char *) ((arg1)->units); |
| 9003 | { |
| 9004 | size_t size = MAX_UNITS_SIZE; |
| 9005 | |
| 9006 | while (size && (result[size - 1] == '\0')) --size; |
| 9007 | |
| 9008 | resultobj = SWIG_FromCharPtrAndSize(result, size); |
| 9009 | } |
| 9010 | return resultobj; |
| 9011 | fail: |
| 9012 | return NULL; |
| 9013 | } |
| 9014 | |
| 9015 | |
| 9016 | SWIGINTERN PyObject *_wrap_dbr_gr_float_upper_disp_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 9017 | PyObject *resultobj = 0; |
| 9018 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 9019 | dbr_float_t arg2 ; |
| 9020 | void *argp1 = 0 ; |
| 9021 | int res1 = 0 ; |
| 9022 | void *argp2 ; |
| 9023 | int res2 = 0 ; |
| 9024 | PyObject * obj0 = 0 ; |
| 9025 | PyObject * obj1 = 0 ; |
| 9026 | |
| 9027 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_float_upper_disp_limit_set",&obj0,&obj1)) SWIG_fail; |
| 9028 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 9029 | if (!SWIG_IsOK(res1)) { |
| 9030 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_upper_disp_limit_set" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 9031 | } |
| 9032 | arg1 = (struct dbr_gr_float *)(argp1); |
| 9033 | { |
| 9034 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsFloat32, 0 ); |
| 9035 | if (!SWIG_IsOK(res2)) { |
| 9036 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_float_upper_disp_limit_set" "', argument " "2"" of type '" "dbr_float_t""'"); |
| 9037 | } |
| 9038 | if (!argp2) { |
| 9039 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_float_upper_disp_limit_set" "', argument " "2"" of type '" "dbr_float_t""'"); |
| 9040 | } else { |
| 9041 | arg2 = *((dbr_float_t *)(argp2)); |
| 9042 | } |
| 9043 | } |
| 9044 | if (arg1) (arg1)->upper_disp_limit = arg2; |
| 9045 | |
| 9046 | resultobj = SWIG_Py_Void(); |
| 9047 | return resultobj; |
| 9048 | fail: |
| 9049 | return NULL; |
| 9050 | } |
| 9051 | |
| 9052 | |
| 9053 | SWIGINTERN PyObject *_wrap_dbr_gr_float_upper_disp_limit_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 9054 | PyObject *resultobj = 0; |
| 9055 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 9056 | dbr_float_t result; |
| 9057 | void *argp1 = 0 ; |
| 9058 | int res1 = 0 ; |
| 9059 | PyObject * obj0 = 0 ; |
| 9060 | |
| 9061 | if (!PyArg_ParseTuple(args,(char *)"O:dbr_gr_float_upper_disp_limit_get",&obj0)) SWIG_fail; |
| 9062 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 9063 | if (!SWIG_IsOK(res1)) { |
| 9064 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_upper_disp_limit_get" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 9065 | } |
| 9066 | arg1 = (struct dbr_gr_float *)(argp1); |
| 9067 | result = ((arg1)->upper_disp_limit); |
| 9068 | resultobj = SWIG_NewPointerObj((dbr_float_t *)memcpy((dbr_float_t *)malloc(sizeof(dbr_float_t)),&result,sizeof(dbr_float_t)), SWIGTYPE_p_epicsFloat32, SWIG_POINTER_OWN | 0 ); |
| 9069 | return resultobj; |
| 9070 | fail: |
| 9071 | return NULL; |
| 9072 | } |
| 9073 | |
| 9074 | |
| 9075 | SWIGINTERN PyObject *_wrap_dbr_gr_float_lower_disp_limit_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
| 9076 | PyObject *resultobj = 0; |
| 9077 | struct dbr_gr_float *arg1 = (struct dbr_gr_float *) 0 ; |
| 9078 | dbr_float_t arg2 ; |
| 9079 | void *argp1 = 0 ; |
| 9080 | int res1 = 0 ; |
| 9081 | void *argp2 ; |
| 9082 | int res2 = 0 ; |
| 9083 | PyObject * obj0 = 0 ; |
| 9084 | PyObject * obj1 = 0 ; |
| 9085 | |
| 9086 | if (!PyArg_ParseTuple(args,(char *)"OO:dbr_gr_float_lower_disp_limit_set",&obj0,&obj1)) SWIG_fail; |
| 9087 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_dbr_gr_float, 0 | 0 ); |
| 9088 | if (!SWIG_IsOK(res1)) { |
| 9089 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "dbr_gr_float_lower_disp_limit_set" "', argument " "1"" of type '" "struct dbr_gr_float *""'"); |
| 9090 | } |
| 9091 | arg1 = (struct dbr_gr_float *)(argp1); |
| 9092 | { |
| 9093 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_epicsFloat32, 0 ); |
| 9094 | if (!SWIG_IsOK(res2)) { |
| 9095 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "dbr_gr_float_lower_disp_limit_set" "', argument " "2"" of type '" "dbr_float_t""'"); |
| 9096 | } |
| 9097 | if (!argp2) { |
| 9098 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "dbr_gr_float_lower_disp_limit_set" "', argument " "2"" of type '" "dbr_float_t""'"); |
| 9099 | } else { |
| 9100 | arg2 = *((dbr_float_t *)(argp2)); |
| 9101 | } |
| 9102 | } |
| 9103 | if (arg1) (arg1)->lower_disp_limit = arg2; |
| 9104 | |
| 9105 | resultobj = SWIG_Py_Void(); |