Ignore:
Timestamp:
Jul 10, 2006, 10:37:00 PM (19 years ago)
Author:
ggaren
Message:

Reviewed by Darin.


  • Changed public header includes to the <JavaScriptCore/ style.
  • Changed instances of 'buffer' to 'string' since we decided on JSInternalString instead of JSStringBuffer.
  • API/JSContextRef.h:
  • API/JSInternalStringRef.cpp: (JSStringMake): (JSInternalStringRetain): (JSInternalStringRelease): (JSValueCopyStringValue): (JSInternalStringGetLength): (JSInternalStringGetCharactersPtr): (JSInternalStringGetCharacters): (JSInternalStringGetMaxLengthUTF8): (JSInternalStringGetCharactersUTF8): (CFStringCreateWithJSInternalString):
  • API/JSInternalStringRef.h:
  • API/JSNode.c: (JSNodePrototype_appendChild): (JSNode_getNodeType):
  • API/JSObjectRef.cpp: (JSObjectCallAsConstructor):
  • API/JSValueRef.h:
  • API/JavaScriptCore.h:
  • API/minidom.c: (main): (print):
  • API/testapi.c: (MyObject_getPropertyList): (myConstructor_callAsConstructor): (main): I noticed that we were prematurely releasing some string buffers, so I moved their release calls to the end of main(). I got rid of 'Buf' in *Buf (sometimes changing to 'IString', when necessary to differentiate a variable) to match the buffer->string change.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSObjectRef.h

    r15317 r15328  
    2828#define JSObjectRef_h
    2929
    30 #include "JSBase.h"
    31 #include "JSValueRef.h"
     30#include <JavaScriptCore/JSBase.h>
     31#include <JavaScriptCore/JSValueRef.h>
    3232
    3333#ifdef __cplusplus
     
    269269@struct JSStaticValue
    270270@abstract This structure describes a static value property.
    271 @field name A UTF8 buffer containing the property's name.
     271@field name A null-terminated UTF8 string containing the property's name.
    272272@field getProperty A JSGetPropertyCallback to invoke when getting the property's value.
    273273@field setProperty A JSSetPropertyCallback to invoke when setting the property's value.
     
    284284@struct JSStaticFunction
    285285@abstract This structure describes a static function property.
    286 @field name A UTF8 buffer containing the property's name.
     286@field name A null-terminated UTF8 string containing the property's name.
    287287@field callAsFunction A JSCallAsFunctionCallback to invoke when the property is called as a function.
    288288@field attributes A logically ORed set of JSPropertyAttributes to give to the property.
Note: See TracChangeset for help on using the changeset viewer.