00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00023 #ifndef __RS_CL_RSH__
00024 #define __RS_CL_RSH__
00025
00026
00027 #define CVT_FUNC_2(typeout, typein) \
00028 _RS_RUNTIME typeout##2 __attribute__((overloadable)) \
00029 convert_##typeout##2(typein##2 v); \
00030 _RS_RUNTIME typeout##3 __attribute__((overloadable)) \
00031 convert_##typeout##3(typein##3 v); \
00032 _RS_RUNTIME typeout##4 __attribute__((overloadable)) \
00033 convert_##typeout##4(typein##4 v);
00034
00035
00036 #define CVT_FUNC(type) CVT_FUNC_2(type, uchar) \
00037 CVT_FUNC_2(type, char) \
00038 CVT_FUNC_2(type, ushort) \
00039 CVT_FUNC_2(type, short) \
00040 CVT_FUNC_2(type, uint) \
00041 CVT_FUNC_2(type, int) \
00042 CVT_FUNC_2(type, float)
00043
00049 CVT_FUNC(char)
00050
00051
00056 CVT_FUNC(uchar)
00057
00063 CVT_FUNC(short)
00064
00070 CVT_FUNC(ushort)
00071
00077 CVT_FUNC(int)
00078
00084 CVT_FUNC(uint)
00085
00091 CVT_FUNC(float)
00092
00093
00094
00095 #ifdef DOXYGEN
00096
00097 #define FN_FUNC_FN(fnc)
00098 #define F_FUNC_FN(fnc)
00099 #define IN_FUNC_FN(fnc)
00100 #define FN_FUNC_FN_FN(fnc)
00101 #define F_FUNC_FN_FN(fnc)
00102 #define FN_FUNC_FN_F(fnc)
00103 #define FN_FUNC_FN_IN(fnc)
00104 #define FN_FUNC_FN_I(fnc)
00105 #define FN_FUNC_FN_PFN(fnc)
00106 #define FN_FUNC_FN_PIN(fnc)
00107 #define FN_FUNC_FN_FN_FN(fnc)
00108 #define FN_FUNC_FN_FN_F(fnc)
00109 #define FN_FUNC_FN_F_F(fnc)
00110 #define FN_FUNC_FN_FN_PIN(fnc)
00111
00112 #else
00113
00114 #define FN_FUNC_FN(fnc) \
00115 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v); \
00116 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v); \
00117 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v);
00118
00119 #define F_FUNC_FN(fnc) \
00120 _RS_RUNTIME float __attribute__((overloadable)) fnc(float2 v); \
00121 _RS_RUNTIME float __attribute__((overloadable)) fnc(float3 v); \
00122 _RS_RUNTIME float __attribute__((overloadable)) fnc(float4 v);
00123
00124 #define IN_FUNC_FN(fnc) \
00125 _RS_RUNTIME int2 __attribute__((overloadable)) fnc(float2 v); \
00126 _RS_RUNTIME int3 __attribute__((overloadable)) fnc(float3 v); \
00127 _RS_RUNTIME int4 __attribute__((overloadable)) fnc(float4 v);
00128
00129 #define FN_FUNC_FN_FN(fnc) \
00130 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2); \
00131 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2); \
00132 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, float4 v2);
00133
00134 #define F_FUNC_FN_FN(fnc) \
00135 _RS_RUNTIME float __attribute__((overloadable)) fnc(float2 v1, float2 v2); \
00136 _RS_RUNTIME float __attribute__((overloadable)) fnc(float3 v1, float3 v2); \
00137 _RS_RUNTIME float __attribute__((overloadable)) fnc(float4 v1, float4 v2);
00138
00139 #define FN_FUNC_FN_F(fnc) \
00140 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float v2); \
00141 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v1, float v2); \
00142 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, float v2);
00143
00144 #define FN_FUNC_FN_IN(fnc) \
00145 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, int2 v2); \
00146 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v1, int3 v2); \
00147 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, int4 v2); \
00148
00149 #define FN_FUNC_FN_I(fnc) \
00150 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, int v2); \
00151 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v1, int v2); \
00152 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, int v2);
00153
00154 #define FN_FUNC_FN_PFN(fnc) \
00155 _RS_RUNTIME float2 __attribute__((overloadable)) \
00156 fnc(float2 v1, float2 *v2); \
00157 _RS_RUNTIME float3 __attribute__((overloadable)) \
00158 fnc(float3 v1, float3 *v2); \
00159 _RS_RUNTIME float4 __attribute__((overloadable)) \
00160 fnc(float4 v1, float4 *v2);
00161
00162 #define FN_FUNC_FN_PIN(fnc) \
00163 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, int2 *v2); \
00164 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v1, int3 *v2); \
00165 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v1, int4 *v2);
00166
00167 #define FN_FUNC_FN_FN_FN(fnc) \
00168 _RS_RUNTIME float2 __attribute__((overloadable)) \
00169 fnc(float2 v1, float2 v2, float2 v3); \
00170 _RS_RUNTIME float3 __attribute__((overloadable)) \
00171 fnc(float3 v1, float3 v2, float3 v3); \
00172 _RS_RUNTIME float4 __attribute__((overloadable)) \
00173 fnc(float4 v1, float4 v2, float4 v3);
00174
00175 #define FN_FUNC_FN_FN_F(fnc) \
00176 _RS_RUNTIME float2 __attribute__((overloadable)) \
00177 fnc(float2 v1, float2 v2, float v3); \
00178 _RS_RUNTIME float3 __attribute__((overloadable)) \
00179 fnc(float3 v1, float3 v2, float v3); \
00180 _RS_RUNTIME float4 __attribute__((overloadable)) \
00181 fnc(float4 v1, float4 v2, float v3);
00182
00183 #define FN_FUNC_FN_F_F(fnc) \
00184 _RS_RUNTIME float2 __attribute__((overloadable)) \
00185 fnc(float2 v1, float v2, float v3); \
00186 _RS_RUNTIME float3 __attribute__((overloadable)) \
00187 fnc(float3 v1, float v2, float v3); \
00188 _RS_RUNTIME float4 __attribute__((overloadable)) \
00189 fnc(float4 v1, float v2, float v3);
00190
00191 #define FN_FUNC_FN_FN_PIN(fnc) \
00192 _RS_RUNTIME float2 __attribute__((overloadable)) \
00193 fnc(float2 v1, float2 v2, int2 *v3); \
00194 _RS_RUNTIME float3 __attribute__((overloadable)) \
00195 fnc(float3 v1, float3 v2, int3 *v3); \
00196 _RS_RUNTIME float4 __attribute__((overloadable)) \
00197 fnc(float4 v1, float4 v2, int4 *v3);
00198
00199 #endif // DOXYGEN
00200
00201
00207 extern float __attribute__((overloadable)) acos(float);
00208 FN_FUNC_FN(acos)
00209
00215 extern float __attribute__((overloadable)) acosh(float);
00216 FN_FUNC_FN(acosh)
00217
00223 _RS_RUNTIME float __attribute__((overloadable)) acospi(float v);
00224 FN_FUNC_FN(acospi)
00225
00231 extern float __attribute__((overloadable)) asin(float);
00232 FN_FUNC_FN(asin)
00233
00239 extern float __attribute__((overloadable)) asinh(float);
00240 FN_FUNC_FN(asinh)
00241
00242
00248 _RS_RUNTIME float __attribute__((overloadable)) asinpi(float v);
00249 FN_FUNC_FN(asinpi)
00250
00256 extern float __attribute__((overloadable)) atan(float);
00257 FN_FUNC_FN(atan)
00258
00268 extern float __attribute__((overloadable)) atan2(float y, float x);
00269 FN_FUNC_FN_FN(atan2)
00270
00276 extern float __attribute__((overloadable)) atanh(float);
00277 FN_FUNC_FN(atanh)
00278
00284 _RS_RUNTIME float __attribute__((overloadable)) atanpi(float v);
00285 FN_FUNC_FN(atanpi)
00286
00296 _RS_RUNTIME float __attribute__((overloadable)) atan2pi(float y, float x);
00297 FN_FUNC_FN_FN(atan2pi)
00298
00299
00305 extern float __attribute__((overloadable)) cbrt(float);
00306 FN_FUNC_FN(cbrt)
00307
00313 extern float __attribute__((overloadable)) ceil(float);
00314 FN_FUNC_FN(ceil)
00315
00325 extern float __attribute__((overloadable)) copysign(float x, float y);
00326 FN_FUNC_FN_FN(copysign)
00327
00333 extern float __attribute__((overloadable)) cos(float);
00334 FN_FUNC_FN(cos)
00335
00341 extern float __attribute__((overloadable)) cosh(float);
00342 FN_FUNC_FN(cosh)
00343
00349 _RS_RUNTIME float __attribute__((overloadable)) cospi(float v);
00350 FN_FUNC_FN(cospi)
00351
00357 extern float __attribute__((overloadable)) erfc(float);
00358 FN_FUNC_FN(erfc)
00359
00365 extern float __attribute__((overloadable)) erf(float);
00366 FN_FUNC_FN(erf)
00367
00373 extern float __attribute__((overloadable)) exp(float);
00374 FN_FUNC_FN(exp)
00375
00381 extern float __attribute__((overloadable)) exp2(float);
00382 FN_FUNC_FN(exp2)
00383
00390 extern float __attribute__((overloadable)) pow(float x, float y);
00391 FN_FUNC_FN_FN(pow)
00392
00398 _RS_RUNTIME float __attribute__((overloadable)) exp10(float v);
00399 FN_FUNC_FN(exp10)
00400
00406 extern float __attribute__((overloadable)) expm1(float);
00407 FN_FUNC_FN(expm1)
00408
00414 extern float __attribute__((overloadable)) fabs(float);
00415 FN_FUNC_FN(fabs)
00416
00423 extern float __attribute__((overloadable)) fdim(float, float);
00424 FN_FUNC_FN_FN(fdim)
00425
00431 extern float __attribute__((overloadable)) floor(float);
00432 FN_FUNC_FN(floor)
00433
00439 extern float __attribute__((overloadable)) fma(float a, float b, float c);
00440 FN_FUNC_FN_FN_FN(fma)
00441
00449 extern float __attribute__((overloadable)) fmax(float x, float y);
00450 FN_FUNC_FN_FN(fmax);
00451 FN_FUNC_FN_F(fmax);
00452
00459 extern float __attribute__((overloadable)) fmin(float x, float y);
00460 FN_FUNC_FN_FN(fmin);
00461 FN_FUNC_FN_F(fmin);
00462
00468 extern float __attribute__((overloadable)) fmod(float x, float y);
00469 FN_FUNC_FN_FN(fmod)
00470
00477 _RS_RUNTIME float __attribute__((overloadable)) fract(float v, float *iptr);
00478 FN_FUNC_FN_PFN(fract)
00479
00485 static inline float __attribute__((overloadable)) fract(float v) {
00486 float unused;
00487 return fract(v, &unused);
00488 }
00489
00490 static inline float2 __attribute__((overloadable)) fract(float2 v) {
00491 float2 unused;
00492 return fract(v, &unused);
00493 }
00494
00495 static inline float3 __attribute__((overloadable)) fract(float3 v) {
00496 float3 unused;
00497 return fract(v, &unused);
00498 }
00499
00500 static inline float4 __attribute__((overloadable)) fract(float4 v) {
00501 float4 unused;
00502 return fract(v, &unused);
00503 }
00504
00511 extern float __attribute__((overloadable)) frexp(float v, int *iptr);
00512 FN_FUNC_FN_PIN(frexp)
00513
00519 extern float __attribute__((overloadable)) hypot(float x, float y);
00520 FN_FUNC_FN_FN(hypot)
00521
00527 extern int __attribute__((overloadable)) ilogb(float);
00528 IN_FUNC_FN(ilogb)
00529
00536 extern float __attribute__((overloadable)) ldexp(float x, int y);
00537 FN_FUNC_FN_IN(ldexp)
00538 FN_FUNC_FN_I(ldexp)
00539
00545 extern float __attribute__((overloadable)) lgamma(float);
00546 FN_FUNC_FN(lgamma)
00547
00554 extern float __attribute__((overloadable)) lgamma(float x, int* y);
00555 FN_FUNC_FN_PIN(lgamma)
00556
00562 extern float __attribute__((overloadable)) log(float);
00563 FN_FUNC_FN(log)
00564
00570 extern float __attribute__((overloadable)) log10(float);
00571 FN_FUNC_FN(log10)
00572
00578 _RS_RUNTIME float __attribute__((overloadable)) log2(float v);
00579 FN_FUNC_FN(log2)
00580
00586 extern float __attribute__((overloadable)) log1p(float v);
00587 FN_FUNC_FN(log1p)
00588
00594 extern float __attribute__((overloadable)) logb(float);
00595 FN_FUNC_FN(logb)
00596
00602 extern float __attribute__((overloadable)) mad(float a, float b, float c);
00603 FN_FUNC_FN_FN_FN(mad)
00604
00613 extern float __attribute__((overloadable)) modf(float x, float *iret);
00614 FN_FUNC_FN_PFN(modf);
00615
00616 extern float __attribute__((overloadable)) nan(uint);
00617
00623 extern float __attribute__((overloadable)) nextafter(float x, float y);
00624 FN_FUNC_FN_FN(nextafter)
00625
00631 _RS_RUNTIME float __attribute__((overloadable)) pown(float v, int p);
00632 FN_FUNC_FN_IN(pown)
00633
00640 _RS_RUNTIME float __attribute__((overloadable)) powr(float v, float p);
00641 FN_FUNC_FN_FN(powr)
00642
00648 extern float __attribute__((overloadable)) remainder(float x, float y);
00649 FN_FUNC_FN_FN(remainder)
00650
00651
00652 extern float __attribute__((overloadable)) remquo(float, float, int *);
00653 FN_FUNC_FN_FN_PIN(remquo)
00654
00660 extern float __attribute__((overloadable)) rint(float);
00661 FN_FUNC_FN(rint)
00662
00668 _RS_RUNTIME float __attribute__((overloadable)) rootn(float v, int n);
00669 FN_FUNC_FN_IN(rootn)
00670
00676 extern float __attribute__((overloadable)) round(float);
00677 FN_FUNC_FN(round)
00678
00684 extern float __attribute__((overloadable)) sqrt(float);
00685 FN_FUNC_FN(sqrt)
00686
00692 _RS_RUNTIME float __attribute__((overloadable)) rsqrt(float v);
00693 FN_FUNC_FN(rsqrt)
00694
00701 extern float __attribute__((overloadable)) sin(float v);
00702 FN_FUNC_FN(sin)
00703
00713 _RS_RUNTIME float __attribute__((overloadable)) sincos(float v, float *cosptr);
00714 FN_FUNC_FN_PFN(sincos);
00715
00721 extern float __attribute__((overloadable)) sinh(float);
00722 FN_FUNC_FN(sinh)
00723
00729 _RS_RUNTIME float __attribute__((overloadable)) sinpi(float v);
00730 FN_FUNC_FN(sinpi)
00731
00738 extern float __attribute__((overloadable)) tan(float v);
00739 FN_FUNC_FN(tan)
00740
00747 extern float __attribute__((overloadable)) tanh(float);
00748 FN_FUNC_FN(tanh)
00749
00755 _RS_RUNTIME float __attribute__((overloadable)) tanpi(float v);
00756 FN_FUNC_FN(tanpi)
00757
00763 extern float __attribute__((overloadable)) tgamma(float);
00764 FN_FUNC_FN(tgamma)
00765
00771 extern float __attribute__((overloadable)) trunc(float);
00772 FN_FUNC_FN(trunc)
00773
00774 #ifdef DOXYGEN
00775
00776 #define XN_FUNC_YN(typeout, fnc, typein) \
00777 extern typeout __attribute__((overloadable)) fnc(typein v);
00778
00779 #define XN_FUNC_XN_XN_BODY(type, fnc, body) \
00780 _RS_RUNTIME type __attribute__((overloadable)) \
00781 fnc(type v1, type v2);
00782
00783 #else
00784
00785 #define XN_FUNC_YN(typeout, fnc, typein) \
00786 extern typeout __attribute__((overloadable)) fnc(typein v); \
00787 _RS_RUNTIME typeout##2 __attribute__((overloadable)) fnc(typein##2 v); \
00788 _RS_RUNTIME typeout##3 __attribute__((overloadable)) fnc(typein##3 v); \
00789 _RS_RUNTIME typeout##4 __attribute__((overloadable)) fnc(typein##4 v);
00790
00791 #define XN_FUNC_XN_XN_BODY(type, fnc, body) \
00792 _RS_RUNTIME type __attribute__((overloadable)) \
00793 fnc(type v1, type v2); \
00794 _RS_RUNTIME type##2 __attribute__((overloadable)) \
00795 fnc(type##2 v1, type##2 v2); \
00796 _RS_RUNTIME type##3 __attribute__((overloadable)) \
00797 fnc(type##3 v1, type##3 v2); \
00798 _RS_RUNTIME type##4 __attribute__((overloadable)) \
00799 fnc(type##4 v1, type##4 v2);
00800
00801 #endif // DOXYGEN
00802
00803 #define UIN_FUNC_IN(fnc) \
00804 XN_FUNC_YN(uchar, fnc, char) \
00805 XN_FUNC_YN(ushort, fnc, short) \
00806 XN_FUNC_YN(uint, fnc, int)
00807
00808 #define IN_FUNC_IN(fnc) \
00809 XN_FUNC_YN(uchar, fnc, uchar) \
00810 XN_FUNC_YN(char, fnc, char) \
00811 XN_FUNC_YN(ushort, fnc, ushort) \
00812 XN_FUNC_YN(short, fnc, short) \
00813 XN_FUNC_YN(uint, fnc, uint) \
00814 XN_FUNC_YN(int, fnc, int)
00815
00816 #define IN_FUNC_IN_IN_BODY(fnc, body) \
00817 XN_FUNC_XN_XN_BODY(uchar, fnc, body) \
00818 XN_FUNC_XN_XN_BODY(char, fnc, body) \
00819 XN_FUNC_XN_XN_BODY(ushort, fnc, body) \
00820 XN_FUNC_XN_XN_BODY(short, fnc, body) \
00821 XN_FUNC_XN_XN_BODY(uint, fnc, body) \
00822 XN_FUNC_XN_XN_BODY(int, fnc, body) \
00823 XN_FUNC_XN_XN_BODY(float, fnc, body)
00824
00831 UIN_FUNC_IN(abs)
00832
00833
00838 IN_FUNC_IN(clz)
00839
00845 IN_FUNC_IN_IN_BODY(min, (v1 < v2 ? v1 : v2))
00846 FN_FUNC_FN_F(min)
00847
00853 IN_FUNC_IN_IN_BODY(max, (v1 > v2 ? v1 : v2))
00854 FN_FUNC_FN_F(max)
00855
00863 _RS_RUNTIME float __attribute__((overloadable)) clamp(float amount, float low, float high);
00864 FN_FUNC_FN_FN_FN(clamp)
00865 FN_FUNC_FN_F_F(clamp)
00866
00872 _RS_RUNTIME float __attribute__((overloadable)) degrees(float radians);
00873 FN_FUNC_FN(degrees)
00874
00880 _RS_RUNTIME float __attribute__((overloadable)) mix(float start, float stop, float amount);
00881 FN_FUNC_FN_FN_FN(mix)
00882 FN_FUNC_FN_FN_F(mix)
00883
00889 _RS_RUNTIME float __attribute__((overloadable)) radians(float degrees);
00890 FN_FUNC_FN(radians)
00891
00900 _RS_RUNTIME float __attribute__((overloadable)) step(float edge, float v);
00901 FN_FUNC_FN_FN(step)
00902 FN_FUNC_FN_F(step)
00903
00904
00905 extern float __attribute__((overloadable)) smoothstep(float, float, float);
00906 extern float2 __attribute__((overloadable)) smoothstep(float2, float2, float2);
00907 extern float3 __attribute__((overloadable)) smoothstep(float3, float3, float3);
00908 extern float4 __attribute__((overloadable)) smoothstep(float4, float4, float4);
00909 extern float2 __attribute__((overloadable)) smoothstep(float, float, float2);
00910 extern float3 __attribute__((overloadable)) smoothstep(float, float, float3);
00911 extern float4 __attribute__((overloadable)) smoothstep(float, float, float4);
00912
00922 _RS_RUNTIME float __attribute__((overloadable)) sign(float v);
00923 FN_FUNC_FN(sign)
00924
00930 _RS_RUNTIME float3 __attribute__((overloadable)) cross(float3 lhs, float3 rhs);
00931 _RS_RUNTIME float4 __attribute__((overloadable)) cross(float4 lhs, float4 rhs);
00932
00938 _RS_RUNTIME float __attribute__((overloadable)) dot(float lhs, float rhs);
00939 F_FUNC_FN_FN(dot)
00940
00946 _RS_RUNTIME float __attribute__((overloadable)) length(float v);
00947 F_FUNC_FN(length)
00948
00954 _RS_RUNTIME float __attribute__((overloadable)) distance(float lhs, float rhs);
00955 F_FUNC_FN_FN(distance)
00956
00962 _RS_RUNTIME float __attribute__((overloadable)) normalize(float v);
00963 FN_FUNC_FN(normalize)
00964
00965
00966
00967 #if (defined(RS_VERSION) && (RS_VERSION >= 17))
00968
00974 _RS_RUNTIME float __attribute__((overloadable)) half_recip(float);
00975 FN_FUNC_FN(half_recip)
00976
00982 _RS_RUNTIME float __attribute__((overloadable)) half_sqrt(float);
00983 FN_FUNC_FN(half_sqrt)
00984
00990 _RS_RUNTIME float __attribute__((overloadable)) half_rsqrt(float v);
00991 FN_FUNC_FN(half_rsqrt)
00992
00998 _RS_RUNTIME float __attribute__((overloadable)) fast_length(float v);
00999 F_FUNC_FN(fast_length)
01000
01006 _RS_RUNTIME float __attribute__((overloadable)) fast_distance(float lhs, float rhs);
01007 F_FUNC_FN_FN(fast_distance)
01008
01014 _RS_RUNTIME float __attribute__((overloadable)) fast_normalize(float v);
01015 F_FUNC_FN(fast_normalize)
01016
01017 #endif // (defined(RS_VERSION) && (RS_VERSION >= 17))
01018
01019
01020
01021 #if (defined(RS_VERSION) && (RS_VERSION >= 18))
01022
01023
01024
01032 _RS_RUNTIME float __attribute__((overloadable)) native_exp2(float v);
01033 FN_FUNC_FN(native_exp2)
01034
01042 _RS_RUNTIME float __attribute__((overloadable)) native_exp(float v);
01043 FN_FUNC_FN(native_exp)
01044
01052 _RS_RUNTIME float __attribute__((overloadable)) native_exp10(float v);
01053 FN_FUNC_FN(native_exp10)
01054
01055
01056 _RS_RUNTIME float __attribute__((overloadable)) native_log2(float v);
01057 FN_FUNC_FN(native_log2)
01058
01059 _RS_RUNTIME float __attribute__((overloadable)) native_log(float v);
01060 FN_FUNC_FN(native_log)
01061
01062 _RS_RUNTIME float __attribute__((overloadable)) native_log10(float v);
01063 FN_FUNC_FN(native_log10)
01064
01065
01066 _RS_RUNTIME float __attribute__((overloadable)) native_powr(float v, float y);
01067 FN_FUNC_FN_FN(native_powr)
01068
01069
01070 #endif // (defined(RS_VERSION) && (RS_VERSION >= 18))
01071
01072
01073 #undef CVT_FUNC
01074 #undef CVT_FUNC_2
01075 #undef FN_FUNC_FN
01076 #undef F_FUNC_FN
01077 #undef IN_FUNC_FN
01078 #undef FN_FUNC_FN_FN
01079 #undef F_FUNC_FN_FN
01080 #undef FN_FUNC_FN_F
01081 #undef FN_FUNC_FN_IN
01082 #undef FN_FUNC_FN_I
01083 #undef FN_FUNC_FN_PFN
01084 #undef FN_FUNC_FN_PIN
01085 #undef FN_FUNC_FN_FN_FN
01086 #undef FN_FUNC_FN_FN_F
01087 #undef FN_FUNC_FN_F_F
01088 #undef FN_FUNC_FN_FN_PIN
01089 #undef XN_FUNC_YN
01090 #undef UIN_FUNC_IN
01091 #undef IN_FUNC_IN
01092 #undef XN_FUNC_XN_XN_BODY
01093 #undef IN_FUNC_IN_IN_BODY
01094
01095 #endif