[erlang-questions] Generating a variable in a macro
Tue Jan 9 13:08:36 CET 2007
You could wrap the mnesia:create_shared_table() call inside a macro
and use it from an inlined function.
On 1/9/07, Joel Reymont <> wrote:
> I thought of that but there's record_info which is compile-time.
> On Jan 9, 2007, at 11:50 AM, Mats Cronqvist wrote:
> > Joel Reymont wrote:
> >> Any workarounds apart from passing the error variable as a macro
> >> argument?
> > turn make_shared_table/3 into a function?
> > mats
> erlang-questions mailing list
More information about the erlang-questions