VirtualBox

Ignore:
Timestamp:
Nov 7, 2023 2:37:39 PM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160041
Message:

libs/xpcom: Convert xcDll.{cpp,h} and nsLocalFileUnix.cpp to use our RTLdr* API directly instead of going through the API defined in prlink.h (which is also just using RTLdr* internally), bugref:10545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/io/nsILocalFile.idl

    r1 r101944  
    4343%{C++
    4444#include "prio.h"
    45 #include "prlink.h"
    4645#include <stdio.h>
     46
     47#include <iprt/ldr.h>
    4748%}
    4849
    4950[ptr] native PRFileDescStar(PRFileDesc);
    50 [ptr] native PRLibraryStar(PRLibrary);
     51[ptr] native RTLDRMOD(RTLDRMODINTERNAL);
    5152[ptr] native FILE(FILE);
    5253
     
    105106    [noscript] FILE           openANSIFileDesc(in string mode);
    106107
    107     [noscript] PRLibraryStar  load();
     108    [noscript] RTLDRMOD       load();
    108109   
    109110    readonly attribute PRInt64 diskSpaceAvailable;
Note: See TracChangeset for help on using the changeset viewer.

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