PageRenderTime 19ms CodeModel.GetById 10ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/tools/luagen/idl/replace.vim

http://ftk.googlecode.com/
Vim Script | 49 lines | 49 code | 0 blank | 0 comment | 0 complexity | cbccaf19f243fa690a8de22a8a29fc33 MD5 | raw file
 1:%s/\<FtkGlyph\*/FtkGlyphPtr/g
 2:%s/\<FtkFont\*/FtkFontPtr/g
 3:%s/\<FtkColor\*/FtkColorPtr/g
 4:%s/\<FtkBitmap\*/FtkBitmapPtr/g
 5:%s/\<FtkGc\*/FtkGcPtr/g
 6:%s/\<FtkCanvas\*/FtkCanvasPtr/g
 7:%s/\<const char\*/CStrPtr/g
 8:%s/\<char\*/StrPtr/g
 9:%s/\<FtkDestroy\*/FtkDestroy/g
10:%s/\<FtkEvent\*/FtkEventPtr/g
11:%s/\<FtkWidget\*/FtkWidgetPtr/g
12:%s/\<FtkListener\*/FtkListener/g
13:%s/\<FtkTranslatePath\*/FtkTranslatePath/g
14:%s/\<FtkLoadImage\*/FtkLoadImage/g
15:%s/\<FtkTranslateText\*/FtkTranslateText/g
16:%s/\<FtkDisplay\*/FtkDisplayPtr/g
17:%s/\<FtkMainLoop\*/FtkMainLoopPtr/g
18:%s/\<FtkWndManager\*/FtkWndManagerPtr/g
19:%s/\<FtkBitmapFactory\*/FtkBitmapFactoryPtr/g
20:%s/\<FtkSourcesManager\*/FtkSourcesManagerPtr/g
21:%s/\<FtkTheme\*/FtkThemePtr/g
22:%s/\<FtkAllocator\*/FtkAllocatorPtr/g
23:%s/\<FtkInputMethodManager\*/FtkInputMethodManagerPtr/g
24:%s/\<FtkImPreeditor\*/FtkImPreeditorPtr/g
25:%s/\<FtkImageDecoder\*/FtkImageDecoderPtr/g
26:%s/\<FtkSource\*/FtkSourcePtr/g
27:%s/\<FtkRect\*/FtkRectPtr/g
28:%s/\<FtkIconCache\*/FtkIconCachePtr/g
29:%s/\<FtkIconViewItem\*/FtkIconViewItemPtr/g
30:%s/\<FtkIconViewItem\*\*/FtkIconViewItemPtr2/g
31:%s/\<FtkListModel\*/FtkListModelPtr/g
32:%s/\<FtkListRender\*/FtkListRenderPtr/g
33:%s/\<FtkMmap\*/FtkMmapPtr/g
34:%s/\<FtkTranslator\*/FtkTranslatorPtr/g
35:%s/\<FtkSprite\*/FtkSpritePtr/g
36:%s/\<FtkListItemInfo\*/FtkListItemInfoPtr/g
37:%s/\<FtkAnimator\*/FtkAnimatorPtr/g
38:%s/\<void\*/voidPtr/g
39:%s/(Ftk/(in Ftk/g
40:%s/, /, in /g
41:%s/\<FtkTimer\>/FtkTimerFunc/g
42:%s/\<FtkOnEvent\>/FtkOnEventFunc/g
43:%s/\<FtkListener\>/FtkListenerFunc/g
44:%s/\<FtkDestroy\>/FtkDestroyFunc/g
45:%s/\<FtkLoadImage\>/FtkLoadImageFunc/g
46:%s/\<FtkTranslateText\>/FtkTranslateTextFunc/g
47:%s/\<FtkTranslatePath\>/FtkTranslatePathFunc/g
48:%s/\<FtkDisplayOnUpdate\>/FtkDisplayOnUpdateFunc/g
49:wq