xref: /freebsd/contrib/llvm-project/lldb/bindings/lua/lua-swigsafecast.swig (revision 6ba2210ee039f2f12878c217bcf058e9c8b26b29)
1template <typename SBClass>
2void
3PushSBClass (lua_State* L, SBClass* obj);
4
5void
6PushSBClass (lua_State* L, lldb::SBFrame* frame_sb)
7{
8   SWIG_NewPointerObj(L, frame_sb, SWIGTYPE_p_lldb__SBFrame, 0);
9}
10
11void
12PushSBClass (lua_State* L, lldb::SBBreakpointLocation* breakpoint_location_sb)
13{
14   SWIG_NewPointerObj(L, breakpoint_location_sb, SWIGTYPE_p_lldb__SBBreakpointLocation, 0);
15}
16
17void
18PushSBClass (lua_State* L, lldb::SBStructuredData* structured_data_sb)
19{
20   SWIG_NewPointerObj(L, structured_data_sb, SWIGTYPE_p_lldb__SBStructuredData, 0);
21}
22