MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / SetPointer

Method SetPointer

src/plugin/kernel/include/AFCDataList.hpp:763–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761 }
762
763 virtual bool SetPointer(size_t index, void* value)
764 {
765 if (index >= mnDataUsed)
766 {
767 return false;
768 }
769
770 if (mpData[index].nType != ArkDataType::DT_POINTER)
771 {
772 return false;
773 }
774 else
775 {
776 mpData[index].mpVaule = value;
777 return true;
778 }
779 }
780
781 const std::string ToString(size_t index) override
782 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected