1*0eae32dcSDimitry Andrictemplate <typename SBClass> void PushSBClass(lua_State *L, SBClass *obj); 2e8d8bef9SDimitry Andric 3*0eae32dcSDimitry Andricvoid PushSBClass(lua_State *L, lldb::SBFrame *frame_sb) { 4e8d8bef9SDimitry Andric SWIG_NewPointerObj(L, frame_sb, SWIGTYPE_p_lldb__SBFrame, 0); 5e8d8bef9SDimitry Andric} 6e8d8bef9SDimitry Andric 7*0eae32dcSDimitry Andricvoid PushSBClass(lua_State *L, 8*0eae32dcSDimitry Andric lldb::SBBreakpointLocation *breakpoint_location_sb) { 9*0eae32dcSDimitry Andric SWIG_NewPointerObj(L, breakpoint_location_sb, 10*0eae32dcSDimitry Andric SWIGTYPE_p_lldb__SBBreakpointLocation, 0); 11e8d8bef9SDimitry Andric} 12e8d8bef9SDimitry Andric 13*0eae32dcSDimitry Andricvoid PushSBClass(lua_State *L, lldb::SBWatchpoint *watchpoint_sb) { 14fe6060f1SDimitry Andric SWIG_NewPointerObj(L, watchpoint_sb, SWIGTYPE_p_lldb__SBWatchpoint, 0); 15fe6060f1SDimitry Andric} 16fe6060f1SDimitry Andric 17*0eae32dcSDimitry Andricvoid PushSBClass(lua_State *L, lldb::SBStructuredData *structured_data_sb) { 18*0eae32dcSDimitry Andric SWIG_NewPointerObj(L, structured_data_sb, SWIGTYPE_p_lldb__SBStructuredData, 19*0eae32dcSDimitry Andric 0); 20e8d8bef9SDimitry Andric} 21