Re: [Sablevm-developer] _svm?_ prefixes
Brought to you by:
egagnon
From: Prof. E. M. G. <eti...@uq...> - 2003-03-20 01:25:06
|
On Wed, Mar 19, 2003 at 05:22:58PM -0500, David B?langer wrote: > Could someone tell me the prefix convention/meaning. > > So far I figure out: > _svmt_* for types > _svmv_* for value > but I'm confuse with when _svm{h,m,f} are used. _svmt_*: type (usually typedef of a struct) _svmv_*: global variable _svmf_*: function _svmm_*: macro _svmh_*: hidden function... A function which should never be called directly by a SableVM programmer, it is instead called through a macro. (e.g., if you wish to call a _svmh_ function, you should find its related _svmm_ macro and call it instead). You're welcome to add this explanation in the /doc directory. ;-) Etienne -- Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |