@@ -838,14 +838,14 @@ enum : long int {
838
838
CPPINTEROP_API std::vector<long int > GetDimensions (TCppType_t type);
839
839
840
840
// / Allocates memory required by an object of a given class
841
- // / \c scope Given class for which to allocate memory for
842
- // / \c count is used to indicate the number of objects to allocate for.
841
+ // / \param[in] scope Given class for which to allocate memory for
842
+ // / \param[in] count is used to indicate the number of objects to allocate for.
843
843
CPPINTEROP_API TCppObject_t Allocate (TCppScope_t scope,
844
844
TCppIndex_t count = 1UL );
845
845
846
846
// / Deallocates memory for a given class.
847
- // / \c scope Class to indicate size of memory to deallocate
848
- // / \c count is used to indicate the number of objects to dallocate for
847
+ // / \param[in] scope Class to indicate size of memory to deallocate
848
+ // / \param[in] count is used to indicate the number of objects to dallocate for
849
849
CPPINTEROP_API void Deallocate (TCppScope_t scope, TCppObject_t address,
850
850
TCppIndex_t count = 1UL );
851
851
@@ -855,6 +855,8 @@ CPPINTEROP_API void Deallocate(TCppScope_t scope, TCppObject_t address,
855
855
// / \param[in] arena If set, this API uses placement new to construct at this
856
856
// / address.
857
857
// / \param[in] is used to indicate the number of objects to construct.
858
+ // / \returns a pointer to the constructed object, which is arena if placement
859
+ // / new is used.
858
860
CPPINTEROP_API TCppObject_t Construct (TCppScope_t scope, void * arena = nullptr ,
859
861
TCppIndex_t count = 1UL );
860
862
0 commit comments