realbasic-plugins
[Top] [All Lists]

Re: CFStrings on Win32

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: CFStrings on Win32
From: Chris Little <cslittle at mac dot com>
Date: Fri, 27 Jan 2006 11:54:18 -0500
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
Thread-index: AcYjYk/YjoBBEo9VEdqYPAARJH2BSA==
Thread-topic: CFStrings on Win32
on 1/27/06 11:47 AM, Thomas Tempelmann at listuser at tempel dot org wrote:

> Chris Little wrote:
> 
>>    if ( myParameters->FileLocation )
>>        REALUnlockString( myParameters->FileLocation ) ;
> 
> Checking for nil is not necssary here, so the first line can be left out.
> 

The documentation for REALUnlockString doesn't say that it accepts NULL so I
say better safe than sorry.

Chris


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>