Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 26. október 2026

Rozdiely pre libcfg+/doc/sgml/usage.context-manipulation.sgml medzi verziami 1.3 a 1.4

verzia 1.3, 2002/07/16 22:31:15 verzia 1.4, 2002/07/18 22:19:04
Riadok 127  file it will print "on line 2" and so on
Riadok 127  file it will print "on line 2" and so on
 </para>  </para>
 <para>  <para>
   
   From version 0.5.2 there is also
   <function>cfg_get_cmdline_context_argc()</function> function. It is used for
   context initialization by passing <parameter>argc</parameter> and
   <parameter>argv</parameter> parameters directly from <function>main()</function>
   function. It has similar parameters as
   <function>cfg_get_cmdline_context()</function>, but instead of
   <parameter>begin_pos</parameter> and <parameter>size</parameter> long parameters
   are only one <parameter>argc</parameter> integer parameter present. Of course,
   you can also use <function>cfg_set_cmdline_context_argc()</function> equivalent.
   
   </para>
   <para>
   
   Another macros used for initialization are
   <function>cfg_get_cmdline_context_pos()</function> and
   <function>cfg_get_cfgfile_context_pos()</function>. They differ from their
   standart equivalent functions in parameter <parameter>size</parameter>, which is
   replaced by parameter <parameter>end_pos</parameter>. It defines the last
   element (array member, byte or line in file) which will be parsed. Also here you
   can use analogicaly <function>cfg_set_cmdline_context_pos()</function> and
   <function>cfg_set_cfgfile_context_pos()</function> macros.
   
   </para>
   <para>
   
 Here are further functions. They are used for reseting and freeing context:  Here are further functions. They are used for reseting and freeing context:
   
 <funcsynopsis>  <funcsynopsis>

Legend:
Odstranené z verzie1.3  
zmenené riadky
  Pridané vo verzii1.4

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok