Skip to content

Instantly share code, notes, and snippets.

{
init: function(elevators, floors) {
function getMethod(i, method) {
var methods =
{
"idle": function() {
var elevator = elevators[i];
Class foo
size=4 align=4
base size=4 base align=4
foo (0x140d45620) 0
Vtable for bar
bar::_ZTV3bar: 5u entries
0 12u
8 (int (*)(...))0
16 (int (*)(...))(& _ZTI3bar)