2:46:10drmeisterThis is for function objects in general - if the function object wraps a function pointer - that adds 8 bytes. If it wraps a method pointer - that adds 16 bytes.
2:48:02drmeisterIt's not clear to me that we absolutely need vtables though - we might be able to get around the need.
2:48:37drmeisterIt would take some work and some thinking though - the simpler thing would be if we could get these vtable symbols exported.
2:50:50drmeisterI'm going to change the names of the template classes that derive from Function_O so I can grep them out of nm output.
2:53:56drmeisterHmm, I'm talking with Lang again - we've been chatting about this for a couple of hours - that's how I learned all this.
14:02:40drmeisterThat is a symbol file that does the job.
14:03:59drmeisterI get that by doing a dladdr lookup on every function pointer we export AND grep'ing every vtable pointer out of the object files and concatenating those two lists together. Then I add in the magical '__mh_execute_header' symbol that the macos dynamic linker needs.
14:05:03drmeisterI can automate this in waf - but it's ... trouble.