MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / tempArrayAliasExample

Function tempArrayAliasExample

modules/dasUnitTest/test_handles.cpp:459–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457};
458
459void tempArrayAliasExample(const das::TArray<Point3> & arr,
460 const das::TBlock<void, das::TTemporary<const das::TArray<Point3>>> & blk,
461 das::Context * context, LineInfoArg * at) {
462 vec4f args[1];
463 args[0] = cast<void *>::from(&arr);
464 context->invoke(blk, args, nullptr, at);
465}
466
467struct FancyClassAnnotation : ManagedStructureAnnotation <FancyClass,true,true> {
468 FancyClassAnnotation(ModuleLibrary & ml) : ManagedStructureAnnotation ("FancyClass", ml) {

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected