1 #ifndef _G_DISP_SF_USER_NVOC_H_
2 #define _G_DISP_SF_USER_NVOC_H_
3 #include "nvoc/runtime.h"
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
9 /*
10  * SPDX-FileCopyrightText: Copyright (c) 1993-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
11  * SPDX-License-Identifier: MIT
12  *
13  * Permission is hereby granted, free of charge, to any person obtaining a
14  * copy of this software and associated documentation files (the "Software"),
15  * to deal in the Software without restriction, including without limitation
16  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
17  * and/or sell copies of the Software, and to permit persons to whom the
18  * Software is furnished to do so, subject to the following conditions:
19  *
20  * The above copyright notice and this permission notice shall be included in
21  * all copies or substantial portions of the Software.
22  *
23  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29  * DEALINGS IN THE SOFTWARE.
30  */
31 
32 /******************************************************************************
33 *
34 *   Description:
35 *       This file contains functions managing DispSfUser class.
36 *
37 ******************************************************************************/
38 
39 #include "g_disp_sf_user_nvoc.h"
40 
41 #ifndef DISP_SF_USER_H
42 #define DISP_SF_USER_H
43 
44 #include "gpu/gpu_resource.h"
45 
46 /*!
47  * RM internal class representing NVXXXX_DISP_SF_USER
48  */
49 
50 // Private field names are wrapped in PRIVATE_FIELD, which does nothing for
51 // the matching C source file, but causes diagnostics to be issued if another
52 // source file references the field.
53 #ifdef NVOC_DISP_SF_USER_H_PRIVATE_ACCESS_ALLOWED
54 #define PRIVATE_FIELD(x) x
55 #else
56 #define PRIVATE_FIELD(x) NVOC_PRIVATE_FIELD(x)
57 #endif
58 
59 struct DispSfUser {
60     const struct NVOC_RTTI *__nvoc_rtti;
61     struct GpuResource __nvoc_base_GpuResource;
62     struct Object *__nvoc_pbase_Object;
63     struct RsResource *__nvoc_pbase_RsResource;
64     struct RmResourceCommon *__nvoc_pbase_RmResourceCommon;
65     struct RmResource *__nvoc_pbase_RmResource;
66     struct GpuResource *__nvoc_pbase_GpuResource;
67     struct DispSfUser *__nvoc_pbase_DispSfUser;
68     NV_STATUS (*__dispsfGetRegBaseOffsetAndSize__)(struct DispSfUser *, struct OBJGPU *, NvU32 *, NvU32 *);
69     NvBool (*__dispsfShareCallback__)(struct DispSfUser *, struct RsClient *, struct RsResourceRef *, RS_SHARE_POLICY *);
70     NV_STATUS (*__dispsfCheckMemInterUnmap__)(struct DispSfUser *, NvBool);
71     NV_STATUS (*__dispsfMapTo__)(struct DispSfUser *, RS_RES_MAP_TO_PARAMS *);
72     NV_STATUS (*__dispsfGetMapAddrSpace__)(struct DispSfUser *, struct CALL_CONTEXT *, NvU32, NV_ADDRESS_SPACE *);
73     NvU32 (*__dispsfGetRefCount__)(struct DispSfUser *);
74     void (*__dispsfAddAdditionalDependants__)(struct RsClient *, struct DispSfUser *, RsResourceRef *);
75     NV_STATUS (*__dispsfControl_Prologue__)(struct DispSfUser *, struct CALL_CONTEXT *, struct RS_RES_CONTROL_PARAMS_INTERNAL *);
76     NV_STATUS (*__dispsfInternalControlForward__)(struct DispSfUser *, NvU32, void *, NvU32);
77     NV_STATUS (*__dispsfUnmapFrom__)(struct DispSfUser *, RS_RES_UNMAP_FROM_PARAMS *);
78     void (*__dispsfControl_Epilogue__)(struct DispSfUser *, struct CALL_CONTEXT *, struct RS_RES_CONTROL_PARAMS_INTERNAL *);
79     NvHandle (*__dispsfGetInternalObjectHandle__)(struct DispSfUser *);
80     NV_STATUS (*__dispsfControl__)(struct DispSfUser *, struct CALL_CONTEXT *, struct RS_RES_CONTROL_PARAMS_INTERNAL *);
81     NV_STATUS (*__dispsfUnmap__)(struct DispSfUser *, struct CALL_CONTEXT *, struct RsCpuMapping *);
82     NV_STATUS (*__dispsfGetMemInterMapParams__)(struct DispSfUser *, RMRES_MEM_INTER_MAP_PARAMS *);
83     NV_STATUS (*__dispsfGetMemoryMappingDescriptor__)(struct DispSfUser *, struct MEMORY_DESCRIPTOR **);
84     NV_STATUS (*__dispsfControlFilter__)(struct DispSfUser *, struct CALL_CONTEXT *, struct RS_RES_CONTROL_PARAMS_INTERNAL *);
85     NV_STATUS (*__dispsfControlSerialization_Prologue__)(struct DispSfUser *, struct CALL_CONTEXT *, struct RS_RES_CONTROL_PARAMS_INTERNAL *);
86     NvBool (*__dispsfCanCopy__)(struct DispSfUser *);
87     NvBool (*__dispsfIsPartialUnmapSupported__)(struct DispSfUser *);
88     void (*__dispsfPreDestruct__)(struct DispSfUser *);
89     NV_STATUS (*__dispsfIsDuplicate__)(struct DispSfUser *, NvHandle, NvBool *);
90     void (*__dispsfControlSerialization_Epilogue__)(struct DispSfUser *, struct CALL_CONTEXT *, struct RS_RES_CONTROL_PARAMS_INTERNAL *);
91     NV_STATUS (*__dispsfMap__)(struct DispSfUser *, struct CALL_CONTEXT *, struct RS_CPU_MAP_PARAMS *, struct RsCpuMapping *);
92     NvBool (*__dispsfAccessCallback__)(struct DispSfUser *, struct RsClient *, void *, RsAccessRight);
93     NvU32 ControlOffset;
94     NvU32 ControlLength;
95 };
96 
97 #ifndef __NVOC_CLASS_DispSfUser_TYPEDEF__
98 #define __NVOC_CLASS_DispSfUser_TYPEDEF__
99 typedef struct DispSfUser DispSfUser;
100 #endif /* __NVOC_CLASS_DispSfUser_TYPEDEF__ */
101 
102 #ifndef __nvoc_class_id_DispSfUser
103 #define __nvoc_class_id_DispSfUser 0xba7439
104 #endif /* __nvoc_class_id_DispSfUser */
105 
106 extern const struct NVOC_CLASS_DEF __nvoc_class_def_DispSfUser;
107 
108 #define __staticCast_DispSfUser(pThis) \
109     ((pThis)->__nvoc_pbase_DispSfUser)
110 
111 #ifdef __nvoc_disp_sf_user_h_disabled
112 #define __dynamicCast_DispSfUser(pThis) ((DispSfUser*)NULL)
113 #else //__nvoc_disp_sf_user_h_disabled
114 #define __dynamicCast_DispSfUser(pThis) \
115     ((DispSfUser*)__nvoc_dynamicCast(staticCast((pThis), Dynamic), classInfo(DispSfUser)))
116 #endif //__nvoc_disp_sf_user_h_disabled
117 
118 
119 NV_STATUS __nvoc_objCreateDynamic_DispSfUser(DispSfUser**, Dynamic*, NvU32, va_list);
120 
121 NV_STATUS __nvoc_objCreate_DispSfUser(DispSfUser**, Dynamic*, NvU32, struct CALL_CONTEXT * arg_pCallContext, struct RS_RES_ALLOC_PARAMS_INTERNAL * arg_pParams);
122 #define __objCreate_DispSfUser(ppNewObj, pParent, createFlags, arg_pCallContext, arg_pParams) \
123     __nvoc_objCreate_DispSfUser((ppNewObj), staticCast((pParent), Dynamic), (createFlags), arg_pCallContext, arg_pParams)
124 
125 #define dispsfGetRegBaseOffsetAndSize(pDispSfUser, pGpu, pOffset, pSize) dispsfGetRegBaseOffsetAndSize_DISPATCH(pDispSfUser, pGpu, pOffset, pSize)
126 #define dispsfShareCallback(pGpuResource, pInvokingClient, pParentRef, pSharePolicy) dispsfShareCallback_DISPATCH(pGpuResource, pInvokingClient, pParentRef, pSharePolicy)
127 #define dispsfCheckMemInterUnmap(pRmResource, bSubdeviceHandleProvided) dispsfCheckMemInterUnmap_DISPATCH(pRmResource, bSubdeviceHandleProvided)
128 #define dispsfMapTo(pResource, pParams) dispsfMapTo_DISPATCH(pResource, pParams)
129 #define dispsfGetMapAddrSpace(pGpuResource, pCallContext, mapFlags, pAddrSpace) dispsfGetMapAddrSpace_DISPATCH(pGpuResource, pCallContext, mapFlags, pAddrSpace)
130 #define dispsfGetRefCount(pResource) dispsfGetRefCount_DISPATCH(pResource)
131 #define dispsfAddAdditionalDependants(pClient, pResource, pReference) dispsfAddAdditionalDependants_DISPATCH(pClient, pResource, pReference)
132 #define dispsfControl_Prologue(pResource, pCallContext, pParams) dispsfControl_Prologue_DISPATCH(pResource, pCallContext, pParams)
133 #define dispsfInternalControlForward(pGpuResource, command, pParams, size) dispsfInternalControlForward_DISPATCH(pGpuResource, command, pParams, size)
134 #define dispsfUnmapFrom(pResource, pParams) dispsfUnmapFrom_DISPATCH(pResource, pParams)
135 #define dispsfControl_Epilogue(pResource, pCallContext, pParams) dispsfControl_Epilogue_DISPATCH(pResource, pCallContext, pParams)
136 #define dispsfGetInternalObjectHandle(pGpuResource) dispsfGetInternalObjectHandle_DISPATCH(pGpuResource)
137 #define dispsfControl(pGpuResource, pCallContext, pParams) dispsfControl_DISPATCH(pGpuResource, pCallContext, pParams)
138 #define dispsfUnmap(pGpuResource, pCallContext, pCpuMapping) dispsfUnmap_DISPATCH(pGpuResource, pCallContext, pCpuMapping)
139 #define dispsfGetMemInterMapParams(pRmResource, pParams) dispsfGetMemInterMapParams_DISPATCH(pRmResource, pParams)
140 #define dispsfGetMemoryMappingDescriptor(pRmResource, ppMemDesc) dispsfGetMemoryMappingDescriptor_DISPATCH(pRmResource, ppMemDesc)
141 #define dispsfControlFilter(pResource, pCallContext, pParams) dispsfControlFilter_DISPATCH(pResource, pCallContext, pParams)
142 #define dispsfControlSerialization_Prologue(pResource, pCallContext, pParams) dispsfControlSerialization_Prologue_DISPATCH(pResource, pCallContext, pParams)
143 #define dispsfCanCopy(pResource) dispsfCanCopy_DISPATCH(pResource)
144 #define dispsfIsPartialUnmapSupported(pResource) dispsfIsPartialUnmapSupported_DISPATCH(pResource)
145 #define dispsfPreDestruct(pResource) dispsfPreDestruct_DISPATCH(pResource)
146 #define dispsfIsDuplicate(pResource, hMemory, pDuplicate) dispsfIsDuplicate_DISPATCH(pResource, hMemory, pDuplicate)
147 #define dispsfControlSerialization_Epilogue(pResource, pCallContext, pParams) dispsfControlSerialization_Epilogue_DISPATCH(pResource, pCallContext, pParams)
148 #define dispsfMap(pGpuResource, pCallContext, pParams, pCpuMapping) dispsfMap_DISPATCH(pGpuResource, pCallContext, pParams, pCpuMapping)
149 #define dispsfAccessCallback(pResource, pInvokingClient, pAllocParams, accessRight) dispsfAccessCallback_DISPATCH(pResource, pInvokingClient, pAllocParams, accessRight)
150 NV_STATUS dispsfGetRegBaseOffsetAndSize_IMPL(struct DispSfUser *pDispSfUser, struct OBJGPU *pGpu, NvU32 *pOffset, NvU32 *pSize);
151 
dispsfGetRegBaseOffsetAndSize_DISPATCH(struct DispSfUser * pDispSfUser,struct OBJGPU * pGpu,NvU32 * pOffset,NvU32 * pSize)152 static inline NV_STATUS dispsfGetRegBaseOffsetAndSize_DISPATCH(struct DispSfUser *pDispSfUser, struct OBJGPU *pGpu, NvU32 *pOffset, NvU32 *pSize) {
153     return pDispSfUser->__dispsfGetRegBaseOffsetAndSize__(pDispSfUser, pGpu, pOffset, pSize);
154 }
155 
dispsfShareCallback_DISPATCH(struct DispSfUser * pGpuResource,struct RsClient * pInvokingClient,struct RsResourceRef * pParentRef,RS_SHARE_POLICY * pSharePolicy)156 static inline NvBool dispsfShareCallback_DISPATCH(struct DispSfUser *pGpuResource, struct RsClient *pInvokingClient, struct RsResourceRef *pParentRef, RS_SHARE_POLICY *pSharePolicy) {
157     return pGpuResource->__dispsfShareCallback__(pGpuResource, pInvokingClient, pParentRef, pSharePolicy);
158 }
159 
dispsfCheckMemInterUnmap_DISPATCH(struct DispSfUser * pRmResource,NvBool bSubdeviceHandleProvided)160 static inline NV_STATUS dispsfCheckMemInterUnmap_DISPATCH(struct DispSfUser *pRmResource, NvBool bSubdeviceHandleProvided) {
161     return pRmResource->__dispsfCheckMemInterUnmap__(pRmResource, bSubdeviceHandleProvided);
162 }
163 
dispsfMapTo_DISPATCH(struct DispSfUser * pResource,RS_RES_MAP_TO_PARAMS * pParams)164 static inline NV_STATUS dispsfMapTo_DISPATCH(struct DispSfUser *pResource, RS_RES_MAP_TO_PARAMS *pParams) {
165     return pResource->__dispsfMapTo__(pResource, pParams);
166 }
167 
dispsfGetMapAddrSpace_DISPATCH(struct DispSfUser * pGpuResource,struct CALL_CONTEXT * pCallContext,NvU32 mapFlags,NV_ADDRESS_SPACE * pAddrSpace)168 static inline NV_STATUS dispsfGetMapAddrSpace_DISPATCH(struct DispSfUser *pGpuResource, struct CALL_CONTEXT *pCallContext, NvU32 mapFlags, NV_ADDRESS_SPACE *pAddrSpace) {
169     return pGpuResource->__dispsfGetMapAddrSpace__(pGpuResource, pCallContext, mapFlags, pAddrSpace);
170 }
171 
dispsfGetRefCount_DISPATCH(struct DispSfUser * pResource)172 static inline NvU32 dispsfGetRefCount_DISPATCH(struct DispSfUser *pResource) {
173     return pResource->__dispsfGetRefCount__(pResource);
174 }
175 
dispsfAddAdditionalDependants_DISPATCH(struct RsClient * pClient,struct DispSfUser * pResource,RsResourceRef * pReference)176 static inline void dispsfAddAdditionalDependants_DISPATCH(struct RsClient *pClient, struct DispSfUser *pResource, RsResourceRef *pReference) {
177     pResource->__dispsfAddAdditionalDependants__(pClient, pResource, pReference);
178 }
179 
dispsfControl_Prologue_DISPATCH(struct DispSfUser * pResource,struct CALL_CONTEXT * pCallContext,struct RS_RES_CONTROL_PARAMS_INTERNAL * pParams)180 static inline NV_STATUS dispsfControl_Prologue_DISPATCH(struct DispSfUser *pResource, struct CALL_CONTEXT *pCallContext, struct RS_RES_CONTROL_PARAMS_INTERNAL *pParams) {
181     return pResource->__dispsfControl_Prologue__(pResource, pCallContext, pParams);
182 }
183 
dispsfInternalControlForward_DISPATCH(struct DispSfUser * pGpuResource,NvU32 command,void * pParams,NvU32 size)184 static inline NV_STATUS dispsfInternalControlForward_DISPATCH(struct DispSfUser *pGpuResource, NvU32 command, void *pParams, NvU32 size) {
185     return pGpuResource->__dispsfInternalControlForward__(pGpuResource, command, pParams, size);
186 }
187 
dispsfUnmapFrom_DISPATCH(struct DispSfUser * pResource,RS_RES_UNMAP_FROM_PARAMS * pParams)188 static inline NV_STATUS dispsfUnmapFrom_DISPATCH(struct DispSfUser *pResource, RS_RES_UNMAP_FROM_PARAMS *pParams) {
189     return pResource->__dispsfUnmapFrom__(pResource, pParams);
190 }
191 
dispsfControl_Epilogue_DISPATCH(struct DispSfUser * pResource,struct CALL_CONTEXT * pCallContext,struct RS_RES_CONTROL_PARAMS_INTERNAL * pParams)192 static inline void dispsfControl_Epilogue_DISPATCH(struct DispSfUser *pResource, struct CALL_CONTEXT *pCallContext, struct RS_RES_CONTROL_PARAMS_INTERNAL *pParams) {
193     pResource->__dispsfControl_Epilogue__(pResource, pCallContext, pParams);
194 }
195 
dispsfGetInternalObjectHandle_DISPATCH(struct DispSfUser * pGpuResource)196 static inline NvHandle dispsfGetInternalObjectHandle_DISPATCH(struct DispSfUser *pGpuResource) {
197     return pGpuResource->__dispsfGetInternalObjectHandle__(pGpuResource);
198 }
199 
dispsfControl_DISPATCH(struct DispSfUser * pGpuResource,struct CALL_CONTEXT * pCallContext,struct RS_RES_CONTROL_PARAMS_INTERNAL * pParams)200 static inline NV_STATUS dispsfControl_DISPATCH(struct DispSfUser *pGpuResource, struct CALL_CONTEXT *pCallContext, struct RS_RES_CONTROL_PARAMS_INTERNAL *pParams) {
201     return pGpuResource->__dispsfControl__(pGpuResource, pCallContext, pParams);
202 }
203 
dispsfUnmap_DISPATCH(struct DispSfUser * pGpuResource,struct CALL_CONTEXT * pCallContext,struct RsCpuMapping * pCpuMapping)204 static inline NV_STATUS dispsfUnmap_DISPATCH(struct DispSfUser *pGpuResource, struct CALL_CONTEXT *pCallContext, struct RsCpuMapping *pCpuMapping) {
205     return pGpuResource->__dispsfUnmap__(pGpuResource, pCallContext, pCpuMapping);
206 }
207 
dispsfGetMemInterMapParams_DISPATCH(struct DispSfUser * pRmResource,RMRES_MEM_INTER_MAP_PARAMS * pParams)208 static inline NV_STATUS dispsfGetMemInterMapParams_DISPATCH(struct DispSfUser *pRmResource, RMRES_MEM_INTER_MAP_PARAMS *pParams) {
209     return pRmResource->__dispsfGetMemInterMapParams__(pRmResource, pParams);
210 }
211 
dispsfGetMemoryMappingDescriptor_DISPATCH(struct DispSfUser * pRmResource,struct MEMORY_DESCRIPTOR ** ppMemDesc)212 static inline NV_STATUS dispsfGetMemoryMappingDescriptor_DISPATCH(struct DispSfUser *pRmResource, struct MEMORY_DESCRIPTOR **ppMemDesc) {
213     return pRmResource->__dispsfGetMemoryMappingDescriptor__(pRmResource, ppMemDesc);
214 }
215 
dispsfControlFilter_DISPATCH(struct DispSfUser * pResource,struct CALL_CONTEXT * pCallContext,struct RS_RES_CONTROL_PARAMS_INTERNAL * pParams)216 static inline NV_STATUS dispsfControlFilter_DISPATCH(struct DispSfUser *pResource, struct CALL_CONTEXT *pCallContext, struct RS_RES_CONTROL_PARAMS_INTERNAL *pParams) {
217     return pResource->__dispsfControlFilter__(pResource, pCallContext, pParams);
218 }
219 
dispsfControlSerialization_Prologue_DISPATCH(struct DispSfUser * pResource,struct CALL_CONTEXT * pCallContext,struct RS_RES_CONTROL_PARAMS_INTERNAL * pParams)220 static inline NV_STATUS dispsfControlSerialization_Prologue_DISPATCH(struct DispSfUser *pResource, struct CALL_CONTEXT *pCallContext, struct RS_RES_CONTROL_PARAMS_INTERNAL *pParams) {
221     return pResource->__dispsfControlSerialization_Prologue__(pResource, pCallContext, pParams);
222 }
223 
dispsfCanCopy_DISPATCH(struct DispSfUser * pResource)224 static inline NvBool dispsfCanCopy_DISPATCH(struct DispSfUser *pResource) {
225     return pResource->__dispsfCanCopy__(pResource);
226 }
227 
dispsfIsPartialUnmapSupported_DISPATCH(struct DispSfUser * pResource)228 static inline NvBool dispsfIsPartialUnmapSupported_DISPATCH(struct DispSfUser *pResource) {
229     return pResource->__dispsfIsPartialUnmapSupported__(pResource);
230 }
231 
dispsfPreDestruct_DISPATCH(struct DispSfUser * pResource)232 static inline void dispsfPreDestruct_DISPATCH(struct DispSfUser *pResource) {
233     pResource->__dispsfPreDestruct__(pResource);
234 }
235 
dispsfIsDuplicate_DISPATCH(struct DispSfUser * pResource,NvHandle hMemory,NvBool * pDuplicate)236 static inline NV_STATUS dispsfIsDuplicate_DISPATCH(struct DispSfUser *pResource, NvHandle hMemory, NvBool *pDuplicate) {
237     return pResource->__dispsfIsDuplicate__(pResource, hMemory, pDuplicate);
238 }
239 
dispsfControlSerialization_Epilogue_DISPATCH(struct DispSfUser * pResource,struct CALL_CONTEXT * pCallContext,struct RS_RES_CONTROL_PARAMS_INTERNAL * pParams)240 static inline void dispsfControlSerialization_Epilogue_DISPATCH(struct DispSfUser *pResource, struct CALL_CONTEXT *pCallContext, struct RS_RES_CONTROL_PARAMS_INTERNAL *pParams) {
241     pResource->__dispsfControlSerialization_Epilogue__(pResource, pCallContext, pParams);
242 }
243 
dispsfMap_DISPATCH(struct DispSfUser * pGpuResource,struct CALL_CONTEXT * pCallContext,struct RS_CPU_MAP_PARAMS * pParams,struct RsCpuMapping * pCpuMapping)244 static inline NV_STATUS dispsfMap_DISPATCH(struct DispSfUser *pGpuResource, struct CALL_CONTEXT *pCallContext, struct RS_CPU_MAP_PARAMS *pParams, struct RsCpuMapping *pCpuMapping) {
245     return pGpuResource->__dispsfMap__(pGpuResource, pCallContext, pParams, pCpuMapping);
246 }
247 
dispsfAccessCallback_DISPATCH(struct DispSfUser * pResource,struct RsClient * pInvokingClient,void * pAllocParams,RsAccessRight accessRight)248 static inline NvBool dispsfAccessCallback_DISPATCH(struct DispSfUser *pResource, struct RsClient *pInvokingClient, void *pAllocParams, RsAccessRight accessRight) {
249     return pResource->__dispsfAccessCallback__(pResource, pInvokingClient, pAllocParams, accessRight);
250 }
251 
252 NV_STATUS dispsfConstruct_IMPL(struct DispSfUser *arg_pDispSfUser, struct CALL_CONTEXT *arg_pCallContext, struct RS_RES_ALLOC_PARAMS_INTERNAL *arg_pParams);
253 
254 #define __nvoc_dispsfConstruct(arg_pDispSfUser, arg_pCallContext, arg_pParams) dispsfConstruct_IMPL(arg_pDispSfUser, arg_pCallContext, arg_pParams)
255 #undef PRIVATE_FIELD
256 
257 
258 #endif // DISP_SF_USER_H
259 
260 #ifdef __cplusplus
261 } // extern "C"
262 #endif
263 
264 #endif // _G_DISP_SF_USER_NVOC_H_
265