Hey Jon,
The file <Wt/WJavaScriptPreamble> contains the definition, but this isn't
public API (we aren't really encouraging the use of this hack!).
But it's really just a one-liner you can easily define yourself:
#define WT_JS(...) #__VA_ARGS__
Regards,
koen
2013/6/17 Jon Haitz Legarreta <jhlegarr...@vicomtech.org>
> Hi there,
> I found the following blog entry about including JavaScript code into C++
> in Wt:
> http://www.webtoolkit.eu/wt/blog/2010/03/02/javascript_that_is_c__
>
> I've spent some time looking for the place where the JS macro is defined
> so that I can include the appropriate file, but I haven't found it.
> Somebody, please?
>
> Thank you !!
> JON HAITZ
>
>
> <http://www.vicomtech.org/>
> Jon Haitz Legarreta Gorroño Ikertzailea / Investigador / Researcher eOsasuna
> eta Aplikazio Biomedikoak /
> eSalud y Aplicaciones Biomedicas / eHealth & Biomedical Applications
> Donostia - San Sebastián -
> Spain<http://www.vicomtech.es/castellano/html/contacto/index.html>
> <http://www.vicomtech.org/>
> Tel: +[34] 943 30 92 30jhlegarr...@vicomtech.org
> Aviso Legal - Política de
> privacidad<http://www.vicomtech.es/castellano/html/informacion_legal/index.html>/
> Lege
> Oharra - Pribatutasun
> politika<http://www.vicomtech.es/euskera/html/informacion_legal/index.html>/
> Legal
> Notice - Privacy
> policy<http://www.vicomtech.es/ingles/html/informacion_legal/index.html>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest