struct size

已查看 12 次
跳至第一个未读帖子

Andrew Penhorwood

未读,
2009年11月20日 08:11:402009/11/20
收件人 Railo
Did we have a getSize() function for returning the size (memory usage)
of a structure? I found a post by Gert about it but now it does not
seem to work.

Todd Rafferty

未读,
2009年11月20日 08:14:412009/11/20
收件人 ra...@googlegroups.com
According to a recent mailing list thread, getSize(application_name) is the usage, I don't think you can use it on a struct.

You can search the group list:
http://groups.google.com/group/railo/search?group=railo&q=getSize&qt_g=Search+this+group

~Todd Rafferty ** Volunteer Railo Open Source Community Manager ** http://getrailo.org/

Gert Franz

未读,
2009年11月20日 11:12:432009/11/20
收件人 ra...@googlegroups.com

I might be wrong, but wasn’t it the sizeOf() function? That should work on all the variable types available in Railo.

 

So it’s sizeOf(struct) and that should work!

 

Greetings from Switzerland

Gert Franz

 

Railo Technologies       Professional Open Source

skype: gert.franz            ge...@getrailo.com

+41 76 5680 231               www.getrailo.com

--

You received this message because you are subscribed to the Google Groups "Railo" group.
To post to this group, send email to ra...@googlegroups.com.
To unsubscribe from this group, send email to railo+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/railo?hl=.

Todd Rafferty

未读,
2009年11月20日 11:15:012009/11/20
收件人 ra...@googlegroups.com
Thanks Gert!


~Todd Rafferty ** Volunteer Railo Open Source Community Manager ** http://getrailo.org/

Andrew Penhorwood

未读,
2009年11月20日 14:38:192009/11/20
收件人 Railo
Yes that works. Very cool.

Andrew Penhorwood

On Nov 20, 11:12 am, "Gert Franz" <g...@getrailo.com> wrote:
> I might be wrong, but wasn't it the sizeOf() function? That should work on
> all the variable types available in Railo.
>
> So it's sizeOf(struct) and that should work!
>
> Greetings from Switzerland
>
> Gert Franz
>
> Railo Technologies       Professional Open Source
>
> skype: gert.franz             <mailto:gert.fr...@railo.ch> g...@getrailo.com
>
> +41 76 5680 231                <http://www.railo.ch/>www.getrailo.com
>
> Von: web...@gmail.com [mailto:web...@gmail.com] Im Auftrag von Todd Rafferty
> Gesendet: Freitag, 20. November 2009 14:15
> An: ra...@googlegroups.com
> Betreff: Re: [railo] struct size
>
> According to a recent mailing list thread, getSize(application_name) is the
> usage, I don't think you can use it on a struct.
>
> You can search the group list:http://groups.google.com/group/railo/search?group=railo
> <http://groups.google.com/group/railo/search?group=railo&q=getSize&qt_...
> ch+this+group> &q=getSize&qt_g=Search+this+group
>
> ~Todd Rafferty ** Volunteer Railo Open Source Community Manager **http://getrailo.org/
回复全部
回复作者
转发
0 个新帖子