function.cxx

来自「适用于嵌入式系统的XML解析库, 规模比libxml2小得多.」· CXX 代码 · 共 108 行

CXX
108
字号
/* * 'foo_void_function()' - Do foo with bar. * * Use the @link foo_float_function@ or @link foo_int_function@ functions * instead.  Pass @code NULL@ for "three" then there is no string to print. * * @deprecated@ */voidfoo_void_function(int        one,	/* I - Integer */                  float      *two,	/* O - Real number */                  const char *three)	/* I - String */{  if (one)  {    puts("Hello, World!");  }  else    puts(three);  *two = 2.0f;}/* * 'foo_float_function()' - Do foo with bar. * * @since 1.2@ */float					/* O - Real number */foo_float_function(int        one,	/* I - Integer */                   const char *two)	/* I - String */{  if (one)  {    puts("Hello, World!");  }  else    puts(two);  return (2.0f);}/* * 'foo_default_string()' - Do something with a defaulted string arg. */int					/* O - Integer value */foo_default_string(int one,		/* I - Integer */                   const char *two = "2")					/* I - String */{  if (one)  {    puts("Hello, World!");  }  else    puts(two);  return (2);}/* * 'foo_default_int()' - Do something with a defaulted int arg. */int					/* O - Integer value */foo_default_int(int one,		/* I - Integer */                int two = 2)		/* I - Integer */{  if (one)  {    puts("Hello, World!");  }  else    puts(two);  return (2);}/* * 'foo_void_func()' - Function taking no arguments. */voidfoo_void_func(void){  puts("foo_void_func()");}/* * 'foo_private_func()' - Private function. * * @private@ */voidfoo_private_func(void){  puts("foo_private_func()");}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?