glib-2.0 Reference Manual

Synopsis

public    static void**                 malloc                    ( ulong               n_bytes ) ;
public    static void**                 malloc0                   ( ulong               n_bytes ) ;
public    static void**                 realloc                   ( void**              mem,
                                                                    ulong               n_bytes ) ;
public    static void**                 try_malloc                ( ulong               n_bytes ) ;
public    static void**                 try_malloc0               ( ulong               n_bytes ) ;
public    static void**                 try_realloc               ( void**              mem,
                                                                    ulong               n_bytes ) ;
public    static void                   free                      ( void**              mem ) ;
public    static void                   print                     ( string              format,
                                                                    ... ) ;
public    static void                   set_print_handler         ( PrintFunc           func ) ;
public    static void                   printerr                  ( string              format,
                                                                    ... ) ;
public    static void                   set_printerr_handler      ( PrintFunc           func ) ;
public    static void                   return_if_fail            ( bool                expr ) ;
public    static void                   assert                    ( bool                expr ) ;
public    static void                   assert_not_reached        (  ) ;
public    static void                   log                       ( string              log_domain,
                                                                    LogLevelFlags       log_level,
                                                                    string              format,
                                                                    ... ) ;
public    static void                   message                   ( string              format,
                                                                    ... ) ;
public    static void                   warning                   ( string              format,
                                                                    ... ) ;
public    static void                   critical                  ( string              format,
                                                                    ... ) ;
public    static void                   error                     ( string              format,
                                                                    ... ) ;
public    static void                   debug                     ( string              format,
                                                                    ... ) ;
public    static string                 convert                   ( string              str,
                                                                    long                len,
                                                                    string              to_codeset,
                                                                    string              from_codeset,
                                                                    int                 bytes_read = null,
                                                                    int                 bytes_written = null ) 
                                                             throws ConvertError;
public    static weak string            _                         ( string              str ) ;
public    static weak string            Q_                        ( string              str ) ;
public    static weak string            N_                        ( string              str ) ;

Details

malloc ()

public    static void**                 malloc                    ( ulong               n_bytes ) ;		

malloc0 ()

public    static void**                 malloc0                   ( ulong               n_bytes ) ;		

realloc ()

public    static void**                 realloc                   ( void**              mem,
                                                                    ulong               n_bytes ) ;		

try_malloc ()

public    static void**                 try_malloc                ( ulong               n_bytes ) ;		

try_malloc0 ()

public    static void**                 try_malloc0               ( ulong               n_bytes ) ;		

try_realloc ()

public    static void**                 try_realloc               ( void**              mem,
                                                                    ulong               n_bytes ) ;		

free ()

public    static void                   free                      ( void**              mem ) ;		

print ()

public    static void                   print                     ( string              format,
                                                                    ... ) ;		

set_print_handler ()

public    static void                   set_print_handler         ( PrintFunc           func ) ;		

printerr ()

public    static void                   printerr                  ( string              format,
                                                                    ... ) ;		

set_printerr_handler ()

public    static void                   set_printerr_handler      ( PrintFunc           func ) ;		

return_if_fail ()

public    static void                   return_if_fail            ( bool                expr ) ;		

assert ()

public    static void                   assert                    ( bool                expr ) ;		

assert_not_reached ()

public    static void                   assert_not_reached        (  ) ;		

log ()

public    static void                   log                       ( string              log_domain,
                                                                    LogLevelFlags       log_level,
                                                                    string              format,
                                                                    ... ) ;		

message ()

public    static void                   message                   ( string              format,
                                                                    ... ) ;		

warning ()

public    static void                   warning                   ( string              format,
                                                                    ... ) ;		

critical ()

public    static void                   critical                  ( string              format,
                                                                    ... ) ;		

error ()

public    static void                   error                     ( string              format,
                                                                    ... ) ;		

debug ()

public    static void                   debug                     ( string              format,
                                                                    ... ) ;		

convert ()

public    static string                 convert                   ( string              str,
                                                                    long                len,
                                                                    string              to_codeset,
                                                                    string              from_codeset,
                                                                    int                 bytes_read = null,
                                                                    int                 bytes_written = null ) 
                                                             throws ConvertError;		

_ ()

public    static weak string            _                         ( string              str ) ;		

Q_ ()

public    static weak string            Q_                        ( string              str ) ;		

N_ ()

public    static weak string            N_                        ( string              str ) ;		


Created by Valadoc