[GRASS-dev] [GRASS GIS] #2421: Functions from CDHC lib have no prefix

GRASS GIS trac at osgeo.org
Tue Sep 16 09:16:11 PDT 2014


#2421: Functions from CDHC lib have no prefix
----------------------------------+-----------------------------------------
 Reporter:  martinl               |       Owner:  grass-dev@…              
     Type:  task                  |      Status:  new                      
 Priority:  blocker               |   Milestone:  7.0.0                    
Component:  Default               |     Version:  svn-trunk                
 Keywords:  cdhclib, api, prefix  |    Platform:  Unspecified              
      Cpu:  Unspecified           |  
----------------------------------+-----------------------------------------

Comment(by wenzeslaus):

 Agreed, they should use prefix.

 BTW, if somebody knows something about it, please go ahead and write some
 documentation, there is none.

 Even more by the way, does the
 [http://grass.osgeo.org/programming7/shapiro1_8c_source.html#l00032
 following syntax] mean something special?

 {{{
 (double).6872
 }}}

 I'm pretty sure that it is the same as writing just `.6872` but one never
 knows with C.

 For the other functions which might be similar case as cdhclib, we might
 try to go through the elements in
 [http://grass.osgeo.org/programming7/globals.html Globals section in
 manual] but I'm not sure if all the things in the manual are public API, I
 think they should be according to the Doxyfile settings:
 {{{
 EXTRACT_PRIVATE        = NO
 EXTRACT_STATIC         = NO
 ...
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2421#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list