mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Luadoc: add special case for shared_ptr c'tor (4192710ac8)
This commit is contained in:
parent
124c57a850
commit
7faa30f878
1 changed files with 8 additions and 0 deletions
|
|
@ -307,6 +307,14 @@ foreach ($doc as $b) {
|
|||
$args = array ();
|
||||
$ret = array (luafn2class ($b['lua']) => 0);
|
||||
$canon = 'ARDOUR::LuaAPI::datatype_ctor_'.strtolower (luafn2name ($b['lua'])).'(lua_State*)';
|
||||
} else if (strpos ($b['lua'], 'ARDOUR:RouteListPtr') === 0) {
|
||||
$ret = array ('ARDOUR.RouteListPtr' => 0);
|
||||
$args = decl2args ('void (RouteList::*)(std::list<std::shared_ptr<ARDOUR::Route> >)');
|
||||
$canon = '';
|
||||
} else if (strpos ($b['lua'], 'ARDOUR:RegionListPtr') === 0) {
|
||||
$ret = array ('ARDOUR.RegionListPtr' => 0);
|
||||
$args = decl2args ('void (RouteList::*)(std::list<std::shared_ptr<ARDOUR::Region> >)');
|
||||
$canon = '';
|
||||
} else {
|
||||
my_die ('unhandled Static C: ' . print_r($b, true));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue