($Id: ExternalPointer.h 1351 2013-03-08 15:12:28Z arr $)
Class CXXR::ExternalPointer and associated C interface.
More...
#include "CXXR/RObject.h"
#include <boost/serialization/access.hpp>
#include <boost/serialization/base_object.hpp>
#include <boost/serialization/nvp.hpp>
#include "CXXR/SEXP_downcast.hpp"
Go to the source code of this file.
Namespaces |
namespace | CXXR |
| Namespace for the CXXR project.
|
Detailed Description
Class CXXR::ExternalPointer and associated C interface.
Function Documentation
void R_ClearExternalPtr |
( |
SEXP |
s | ) |
|
|
inline |
Reset the encapsulated pointer to a null pointer.
- Parameters:
-
void* R_ExternalPtrAddr |
( |
SEXP |
s | ) |
|
|
inline |
Get the encapsulated external pointer.
- Parameters:
-
- Returns:
- the external pointer encapsulated by s.
Get pointer to protege object.
- Parameters:
-
- Returns:
- a pointer to the protege object of s.
Get pointer to tag object.
- Parameters:
-
- Returns:
- a pointer to the tag object of s.
void R_SetExternalPtrAddr |
( |
SEXP |
s, |
|
|
void * |
p |
|
) |
| |
Set the value of the encapsulated pointer.
- Parameters:
-
void R_SetExternalPtrProtected |
( |
SEXP |
s, |
|
|
SEXP |
p |
|
) |
| |
Designate the protege object.
- Parameters:
-
void R_SetExternalPtrTag |
( |
SEXP |
s, |
|
|
SEXP |
tag |
|
) |
| |
Designate the tag object.
- Parameters:
-