MCPcopy Create free account
hub / github.com/SteveKChiu/lua-intf / CppFunctor

Class CppFunctor

LuaIntf/impl/CppFunction.h:34–74  ·  view source on GitHub ↗

* A template for temporately object created as lua function (with proper gc) * This is usually used for iterator function. * * To use this, user need to inherit CppFunctor, and override run method and optional descructor. * Then call make or pushToStack to create the functor object on lua stack. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected