VirtualBox

Changeset 18155 in vbox for trunk/src


Ignore:
Timestamp:
Mar 23, 2009 5:16:17 PM (16 years ago)
Author:
vboxsync
Message:

VBoxXPCOMCGlue.c: Added a todo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/cbinding/VBoxXPCOMCGlue.c

    r18020 r18155  
    3232*   Header Files                                                               *
    3333*******************************************************************************/
    34 
    35 #ifdef VBOX_WITH_XPCOM
    36 # define VIR_ALLOC_N(a, b) ((a) = (char *)malloc(b))
    37 # define VIR_FREE(name) (free(name))
    38 #else /* !VBOX_WITH_XPCOM */
     34#ifndef VBOX_WITH_XPCOM /** @todo Find libvirt define to test for! */
    3935# include <config.h>
    4036# include "memory.h"
     
    4743
    4844#include "VBoxXPCOMCGlue.h"
     45
    4946
    5047/*******************************************************************************
     
    6158#endif
    6259
     60#ifdef VBOX_WITH_XPCOM /** @todo Find libvirt define to test for! */
     61# define VIR_ALLOC_N(a, b) ((a) = (char *)malloc(b))
     62# define VIR_FREE(name) (free(name))
     63#endif /* !VBOX_WITH_XPCOM */
     64
     65
     66/*******************************************************************************
     67*   Global Variables                                                           *
     68*******************************************************************************/
    6369/** The dlopen handle for VBoxXPCOMC. */
    6470void *g_hVBoxXPCOMC = NULL;
     
    192198}
    193199
     200
    194201/**
    195202 * Terminate the C glue library.
     
    211218    memset(g_szVBoxErrMsg, 0, sizeof(g_szVBoxErrMsg));
    212219}
     220
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette