xref: /freebsd/contrib/llvm-project/lldb/bindings/lua/lua-swigsafecast.swig (revision 43a5ec4eb41567cc92586503212743d89686d78f)
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::SBWatchpoint* watchpoint_sb)
19{
20   SWIG_NewPointerObj(L, watchpoint_sb, SWIGTYPE_p_lldb__SBWatchpoint, 0);
21}
22
23void
24PushSBClass (lua_State* L, lldb::SBStructuredData* structured_data_sb)
25{
26   SWIG_NewPointerObj(L, structured_data_sb, SWIGTYPE_p_lldb__SBStructuredData, 0);
27}
28