MeshLib C Docs
Loading...
Searching...
No Matches
std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty.h File Reference
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>
#include <stdbool.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct MR_Pdf_Cell_Empty MR_Pdf_Cell_Empty
 
typedef struct MR_std_string MR_std_string
 
typedef struct MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty
 

Functions

MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_EmptyMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_DefaultConstruct (void)
 
MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_EmptyMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_DefaultConstructArray (size_t num_elems)
 
MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_EmptyMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructFromAnother (MR_PassBy other_pass_by, MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *other)
 
MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignFromAnother (MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this, MR_PassBy other_pass_by, MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *other)
 
MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Destroy (const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 Destroys a heap-allocated instance of MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty. Does nothing if the pointer is null.
 
MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_DestroyArray (const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 Destroys a heap-allocated array of MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty. Does nothing if the pointer is null.
 
MRC_API const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_EmptyMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_OffsetPtr (const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *ptr, ptrdiff_t i)
 
MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_EmptyMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_OffsetMutablePtr (MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *ptr, ptrdiff_t i)
 
MRC_API size_t MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Index (const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 
MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_EmptyMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_int (int value)
 
MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_EmptyMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_float (float value)
 
MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_EmptyMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_bool (bool value)
 
MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_EmptyMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_std_string (const char *value, const char *value_end)
 
MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_EmptyMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_MR_Pdf_Cell_Empty (const MR_Pdf_Cell_Empty *value)
 
MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_int (MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this, int value)
 
MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_float (MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this, float value)
 
MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_bool (MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this, bool value)
 
MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_std_string (MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this, const char *value, const char *value_end)
 
MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_MR_Pdf_Cell_Empty (MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this, const MR_Pdf_Cell_Empty *value)
 
MRC_API const int * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_int (const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 
MRC_API int * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_int (MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 
MRC_API const float * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_float (const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 
MRC_API float * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_float (MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 
MRC_API const bool * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_bool (const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 
MRC_API bool * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_bool (MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 
MRC_API const MR_std_stringMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_std_string (const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 
MRC_API MR_std_stringMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_std_string (MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 
MRC_API const MR_Pdf_Cell_EmptyMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_MR_Pdf_Cell_Empty (const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 
MRC_API MR_Pdf_Cell_EmptyMR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_MR_Pdf_Cell_Empty (MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty *_this)
 

Typedef Documentation

◆ MR_Pdf_Cell_Empty

◆ MR_std_string

typedef struct MR_std_string MR_std_string

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty

Stores one of 5 objects: int, float, bool, std::string, MR::Pdf::Cell::Empty. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Function Documentation

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_bool()

MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_bool ( MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this,
bool value )

Assigns to the variant, making it store the element 2, of type bool. Parameter _this can not be null. It is a single object. When this function is called, this object will drop any object references it had previously.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_float()

MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_float ( MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this,
float value )

Assigns to the variant, making it store the element 1, of type float. Parameter _this can not be null. It is a single object. When this function is called, this object will drop any object references it had previously.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_int()

MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_int ( MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this,
int value )

Assigns to the variant, making it store the element 0, of type int. Parameter _this can not be null. It is a single object. When this function is called, this object will drop any object references it had previously.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_MR_Pdf_Cell_Empty()

MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_MR_Pdf_Cell_Empty ( MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this,
const MR_Pdf_Cell_Empty * value )

Assigns to the variant, making it store the element 4, of type MR::Pdf::Cell::Empty. Parameter _this can not be null. It is a single object. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in this object. When this function is called, this object will drop any object references it had previously.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_std_string()

MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignAs_std_string ( MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this,
const char * value,
const char * value_end )

Assigns to the variant, making it store the element 3, of type std::string. Parameter _this can not be null. It is a single object. Parameter value can not be null. If value_end is null, then value is assumed to be null-terminated. The reference to the parameter value might be preserved in this object. When this function is called, this object will drop any object references it had previously.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignFromAnother()

MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_AssignFromAnother ( MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this,
MR_PassBy other_pass_by,
MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * other )

Assigns the contents from another instance. Both objects remain alive after the call. Parameter _this can not be null. It is a single object. The reference to the parameter other might be preserved in this object. When this function is called, this object will drop any object references it had previously.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_bool()

MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_bool ( bool value)

Constructs the variant storing the element 2, of type bool. Never returns null. Returns an instance allocated on the heap! Must call MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_float()

MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_float ( float value)

Constructs the variant storing the element 1, of type float. Never returns null. Returns an instance allocated on the heap! Must call MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_int()

MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_int ( int value)

Constructs the variant storing the element 0, of type int. Never returns null. Returns an instance allocated on the heap! Must call MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_MR_Pdf_Cell_Empty()

MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_MR_Pdf_Cell_Empty ( const MR_Pdf_Cell_Empty * value)

Constructs the variant storing the element 4, of type MR::Pdf::Cell::Empty. Parameter value can not be null. It is a single object. The reference to the parameter value might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_std_string()

MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructAs_std_string ( const char * value,
const char * value_end )

Constructs the variant storing the element 3, of type std::string. Parameter value can not be null. If value_end is null, then value is assumed to be null-terminated. The reference to the parameter value might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructFromAnother()

MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_ConstructFromAnother ( MR_PassBy other_pass_by,
MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * other )

Constructs a copy of another instance. The source remains alive. The reference to the parameter other might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_DefaultConstruct()

MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_DefaultConstruct ( void )

Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Destroy() to free it when you're done using it.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_DefaultConstructArray()

MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_DefaultConstructArray ( size_t num_elems)

Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_DestroyArray(). Use MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_OffsetMutablePtr() and MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_OffsetPtr() to access the array elements.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Destroy()

MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Destroy ( const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Destroys a heap-allocated instance of MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty. Does nothing if the pointer is null.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_DestroyArray()

MRC_API void MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_DestroyArray ( const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Destroys a heap-allocated array of MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty. Does nothing if the pointer is null.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_bool()

MRC_API const bool * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_bool ( const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Returns the element 2, of type bool, read-only. If it's not the active element, returns null. Parameter _this can not be null. It is a single object.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_float()

MRC_API const float * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_float ( const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Returns the element 1, of type float, read-only. If it's not the active element, returns null. Parameter _this can not be null. It is a single object.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_int()

MRC_API const int * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_int ( const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Returns the element 0, of type int, read-only. If it's not the active element, returns null. Parameter _this can not be null. It is a single object.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_MR_Pdf_Cell_Empty()

MRC_API const MR_Pdf_Cell_Empty * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_MR_Pdf_Cell_Empty ( const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Returns the element 4, of type MR::Pdf::Cell::Empty, read-only. If it's not the active element, returns null. Parameter _this can not be null. It is a single object.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_std_string()

MRC_API const MR_std_string * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Get_std_string ( const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Returns the element 3, of type std::string, read-only. If it's not the active element, returns null. Parameter _this can not be null. It is a single object.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_bool()

MRC_API bool * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_bool ( MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Returns the element 2, of type bool, mutable. If it's not the active element, returns null. Parameter _this can not be null. It is a single object.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_float()

MRC_API float * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_float ( MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Returns the element 1, of type float, mutable. If it's not the active element, returns null. Parameter _this can not be null. It is a single object.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_int()

MRC_API int * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_int ( MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Returns the element 0, of type int, mutable. If it's not the active element, returns null. Parameter _this can not be null. It is a single object.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_MR_Pdf_Cell_Empty()

MRC_API MR_Pdf_Cell_Empty * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_MR_Pdf_Cell_Empty ( MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Returns the element 4, of type MR::Pdf::Cell::Empty, mutable. If it's not the active element, returns null. Parameter _this can not be null. It is a single object.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_std_string()

MRC_API MR_std_string * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_GetMutable_std_string ( MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Returns the element 3, of type std::string, mutable. If it's not the active element, returns null. Parameter _this can not be null. It is a single object.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Index()

MRC_API size_t MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_Index ( const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * _this)

Returns the index of the stored element type. In rare cases may return -1 if this variant is "valueless by exception". Parameter _this can not be null. It is a single object.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_OffsetMutablePtr()

MRC_API MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_OffsetMutablePtr ( MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.

◆ MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_OffsetPtr()

MRC_API const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty_OffsetPtr ( const MR_std_variant_int_float_bool_std_string_MR_Pdf_Cell_Empty * ptr,
ptrdiff_t i )

Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.