HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyBufferUtils.h
Go to the documentation of this file.
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_BASE_GF_PY_BUFFER_UTILS_H
8 #define PXR_BASE_GF_PY_BUFFER_UTILS_H
9 
10 #include "pxr/pxr.h"
11 #include "pxr/base/gf/api.h"
12 
14 
15 ////////////////////////////////////////////////////////////////////////
16 // Format strings matching Python buffer proto / struct module scheme.
17 
18 // This function template is explicitly instantiated for T =
19 // bool, [unsigned] (char, short, int, long), half, float, and double.
20 template <class T>
21 char *Gf_GetPyBufferFmtFor();
22 
24 
25 #endif // PXR_BASE_GF_PY_BUFFER_UTILS_H
PXR_NAMESPACE_OPEN_SCOPE char * Gf_GetPyBufferFmtFor()
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74